Hello, is there an ideal way to launch a DialogFra...
# compose
s
Hello, is there an ideal way to launch a DialogFragment from within compose?
This works when used from a FragmentActivity, but suspect would need some additional logic to support any recomposition or if parent composable leaves composition via DisposableEffect etc.
Copy code
Box(modifier = Modifier.fillMaxSize()) {
                Text("Launch Dialog Fragment", Modifier.clickable {
                    MyDialogFragment().show(supportFragmentManager, "MyDialog")
                })
            }