
245: Treehouse, Redwood and Zipline with Colin White
Fragmented - Android Developer Podcast
00:00
How to Use Redwood to Build a UI Schema
Redwood is almost like a layer before even compose UI because you're saying you can so and redwood is a library. Redwood adds in its own applyer and then does some code generation to let you hook into the output of these diffs that the compose compiler is producing. It'll generate functions, composable functions that look a lot like compose UI functions. And it also generates interfaces which have functions for each of your properties. So if we're thinking about views, for instance, say we bound our redwood stuff to views, that method in our interface is going to invoke to say, hey, the text got updated, then we're going to set text view dot text equals
Transcript
Play full episode