Emme Developer Well-Known Member Licensed User Longtime User Nov 2, 2017 #1 Hi! Is possible to set an event using java object? I'm trying to wrap this code B4X: @Override public void onMapReady(GoogleMap map) { map.setOnPoiClickListener(this); } @Override public void onPoiClick(PointOfInterest poi) { }
Hi! Is possible to set an event using java object? I'm trying to wrap this code B4X: @Override public void onMapReady(GoogleMap map) { map.setOnPoiClickListener(this); } @Override public void onPoiClick(PointOfInterest poi) { }
Erel B4X founder Staff member Licensed User Longtime User Nov 2, 2017 #2 The map ready event is already available in the library. You can use JavaObject.CreateEvent to handle this event. The interface is: com.google.android.gms.maps.GoogleMap.OnPoiClickListener Upvote 0
The map ready event is already available in the library. You can use JavaObject.CreateEvent to handle this event. The interface is: com.google.android.gms.maps.GoogleMap.OnPoiClickListener