<How to handle back press on AndroidViewBinding &a...
# stackoverflow
u
How to handle back press on AndroidViewBinding &amp; finish host compose? The composable host an AndroidView that is a FragmentContainerView which has multiple child Fragments on back press of the FragmentContainerView we want to close the @Game composable. @Composable fun Game(data: Bundle? = null) { val user = GamingHubAuthManager.getUser().observeAsState() AndroidViewBinding(EntryPointBinding::inflate) { // val myFragment = fragmentGameContainerView.getFragment } }