Dim jo As JavaObject = TabStrip1
Dim event As Object = jo.CreateEventFromUI("androidx.viewpager.widget.ViewPager.OnPageChangeListener", "PageChangeListener", Null)
jo.GetFieldJO("tabStrip").RunMethod("setOnPageChangeListener", Array(event))
End Sub
Sub PageChangeListener_Event (MethodName As String, Args() As Object) As Object
Log("Method: " & MethodName)
Dim ArgsList As List = Args
Log("Args: " & ArgsList)
Return Null
End Sub