in B4A i create an event for google map to track some Listener
but i don't know how to convert this code for B4i
B4X:
Dim jo As JavaObject
jo = gmap
Try
Dim e As Object = jo.CreateEvent("com.google.android.gms.maps.GoogleMap.OnCameraMoveStartedListener", "CameraMoveStarted", False)
jo.RunMethod("setOnCameraMoveStartedListener", Array As Object(e))
Dim e As Object = jo.CreateEvent("com.google.android.gms.maps.GoogleMap.OnCameraIdleListener", "CameraMoveEnd", False)
jo.RunMethod("setOnCameraIdleListener", Array As Object(e))
Catch
Log(LastException)
End Try