4min chapter

Fragmented - Android Developer Podcast cover image

245: Treehouse, Redwood and Zipline with Colin White

Fragmented - Android Developer Podcast

CHAPTER

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

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode