Function

removeConnectionToComposeViewContext

Called when AbstractComposeView.composeViewContext is set to null.

removeConnectionToComposeViewContext

Source set: Android
fun removeConnectionToComposeViewContext()

Called when AbstractComposeView.composeViewContext is set to null. This will remove the attachment of this AndroidComposeView from the ComposeViewContext so that it can stop observing when no AndroidComposeViews need it.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: