tripkit-android / com.skedgo.tripkit.ui.map / BaseMapFragment / whenSafeToUseMap

whenSafeToUseMap

fun whenSafeToUseMap(callback: Consumer<GoogleMap>):Unit

A safer point to retrieve GoogleMap as the callback is invoked after fragment view is measured. This makes it safe to move or animate map with CameraUpdate.