antonioleiva
11/16/2021, 11:56 AMparent
argument in the setContent
extension?
public fun ComponentActivity.setContent(
parent: CompositionContext? = null,
content: @Composable () -> Unit
) {...}
I've never seen a sample using this argument 🤔Albert Chang
11/16/2021, 1:35 PMCompositionContext
. Normally you won’t need to specify this. Here’s an example usage.antonioleiva
11/16/2021, 1:41 PMZach Klippenstein (he/him) [MOD]
11/16/2021, 5:14 PM