1. moved to toast instead of log

This commit is contained in:
vadym 2020-08-06 23:36:28 -07:00
parent eda505a6ff
commit dd95c5c13d

View File

@ -141,12 +141,12 @@ class MainActivity : AppCompatActivity() {
} }
val c: Class<*> = dummy.Dummy::class.java val c: Class<*> = dummy.Dummy::class.java
val methods: Array<Method> = c.declaredMethods val methods: Array<Method> = c.declaredMethods
Log.i(TAG,"Getting dummy.Dummy class methods list") showToast("Getting dummy.Dummy class methods list")
if(methods.isEmpty()){ if(methods.isEmpty()){
Log.i(TAG,"No class methods found in dummy.Dummy") showToast("No class methods found in dummy.Dummy")
} else { } else {
for (m in methods) { for (m in methods) {
Log.i(TAG, "The method is: " + m.toString()) showToast("The method is: " + m.toString())
} }
} }
} }