[android] - add javadoc to highlight imcompatible onIdle with snapshot API, update test app example to use OnFullyRenderedFrame callback instead
This commit is contained in:
@@ -937,6 +937,10 @@ public class MapView extends FrameLayout implements NativeMapView.ViewCallback {
|
||||
/**
|
||||
* Interface definition for a callback to be invoked when the map has entered the idle state.
|
||||
* <p>
|
||||
* Calling {@link MapboxMap#snapshot(MapboxMap.SnapshotReadyCallback)} from this callback
|
||||
* will result in recursive execution. Use {@link OnDidFinishRenderingFrameListener} instead.
|
||||
* </p>
|
||||
* <p>
|
||||
* {@link MapView#addOnDidBecomeIdleListener(OnDidBecomeIdleListener)}
|
||||
* </p>
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user