onDestroy abstract method

void onDestroy()

Called when the map view to which this is attached to is destroyed.

After this is called, no other MapViewLifecycleListener method will be invoked. This should be used to make sure all resources are freed.

Implementation

void onDestroy();