Jul 2, 2023
Hi Michael, this was an early approach and as you seemed to indicate in your comment, it is not scalable. Today I would recommend to declare contracts in the Composable (data and functions required by the Composable and only that). Now the official Android documentation covers that https://developer.android.com/jetpack/compose/state#state-hoisting