The readme is showing the following:
lifecycle.coroutineScope.launchWhenCreated {
val googleMap = mapFragment?.awaitMap()
}
as the example of how to use this, but that code has been deprecated.
Can you update the readme to have a more current example?
Is:
lifecycleScope.lifecycleScope.launch {
lifecycle.repeatOnLifecycle(Lifecycle.State.CREATED) {
val googleMap = mapFragment?.awaitMap()
}
}
the correct way to use this now?
The readme is showing the following:
as the example of how to use this, but that code has been deprecated.
Can you update the readme to have a more current example?
Is:
the correct way to use this now?