Will there be a version of compose that can be converted in runtime?
That way there can be support for custom UI fetched from remote repositories.
It can be good for things like custom popups or A/B testings
e
elizarov
05/20/2019, 6:50 AM
It does not seem hard to write a piece of code that parses JSON or XML tree and constructs the corresponding compose widgets. However, to make this implementation simple Compose runtime shall support some kind of reflective invocation of composable functions. (a useful item for compose team to note for the future)
a
Adam Powell
05/20/2019, 12:58 PM
Yep. It was one of the first things some Google teams asked for too
g
Gil Goldzweig
05/20/2019, 1:02 PM
Cool
m
miha-x64
05/20/2019, 3:23 PM
View hierarchies should be serializable. This helps both in a/b tests and for hot reloading.
g
galex
05/20/2019, 3:53 PM
That sounds amazing. The more I read stuff on this channel the more I get excited about it
m
miha-x64
05/21/2019, 8:23 AM
I said that it should, not will. It's so easy to say, sitting on my sofa and philosofizing.
g
Gil Goldzweig
05/21/2019, 8:47 AM
Yeah, but I think that by asking/sharing features the team can improve and understand what the community is looking for, especially at the current stage of development.