Alex
10/05/2021, 9:38 AMComposeView
to show a composable. Is there a way for the ComposeView
to receive a callback when the content is recomposed?Alex
10/05/2021, 10:50 AMComposeView
is being redrawn would also workraenardev
10/05/2021, 10:58 AMSideEffect
in your top composable function inside ComposeView for that.
Schedulehttps://developer.android.com/reference/kotlin/androidx/compose/runtime/package-summary#SideEffect(kotlin.Function0)to run when the current composition completes successfully and applies changes.effect
Alex
10/05/2021, 11:37 AMAdam Powell
10/05/2021, 1:28 PMAlex
10/07/2021, 9:35 AMAlex
10/07/2021, 9:35 AMAdam Powell
10/07/2021, 1:06 PMAlex
10/08/2021, 6:56 AMAdam Powell
10/08/2021, 2:13 PMAdam Powell
10/08/2021, 2:16 PM