-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: docsImprovement to the documentation for an API.Improvement to the documentation for an API.
Description
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?
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: docsImprovement to the documentation for an API.Improvement to the documentation for an API.