Hello! We have an app that has fragments with View...
# compose
v
Hello! We have an app that has fragments with Views and fragments with Composables. We have a
BottomSheetDialogFragment
and in
onCreateView
we set a composable as the content. The data of this composable is loaded asynchrously. When the data is loaded we want to recalculate the height of the fragment. Which id the best approach to do it? Obviously we can declare a function in the fragment which will be passed in the composable and after getting the data we could invoke it. Is there any other way?