Android Kotlin Array Of Objects Javascript Methods And Functions