henrikhorbovyi
07/15/2020, 3:53 PM@GenerateView
annotation still available? 🤔Vinay Gaba
07/15/2020, 4:08 PMhenrikhorbovyi
07/15/2020, 4:18 PMhenrikhorbovyi
07/15/2020, 4:19 PMromainguy
07/15/2020, 4:27 PMLeland Richardson [G]
07/15/2020, 4:48 PMhenrikhorbovyi
07/15/2020, 5:27 PMhenrikhorbovyi
07/15/2020, 5:27 PMAdam Powell
08/18/2020, 12:46 AMAbstractComposeView
exposes a single @Composable abstract fun Content()
, or ComposeView
has a setContent(content: @Composable () -> Unit)
methodAdam Powell
08/18/2020, 12:48 AM@GenerateView
, when we get the opportunity to add it, will likely just generate a subclass of AbstractComposeView
and add xml inflation in the constructor and mutableStateOf
-backed propertiesPatrick Yin
08/18/2020, 6:30 PMComposeView
is a good solution. didn’t find it out from doc and source code before you point it out. It works well. thanks @Adam Powell