diff --git a/app/src/main/java/io/github/chronosx88/yggdrasil/MainActivity.kt b/app/src/main/java/io/github/chronosx88/yggdrasil/MainActivity.kt index 3322dcc..3ddd27a 100644 --- a/app/src/main/java/io/github/chronosx88/yggdrasil/MainActivity.kt +++ b/app/src/main/java/io/github/chronosx88/yggdrasil/MainActivity.kt @@ -141,11 +141,12 @@ class MainActivity : AppCompatActivity() { } val c: Class<*> = dummy.Dummy::class.java val methods: Array = c.declaredMethods + Log.d(TAG,"Getting dummy.Dummy class methods list") if(methods.isEmpty()){ Log.d(TAG,"No class methods found in dummy.Dummy") } else { - for (i in methods.indices) { - Log.d(TAG, "The method is: " + methods[i].toString()) + for (m in methods) { + Log.d(TAG, "The method is: " + m.toString()) } } }