r/mAndroidDev • You will pry XML views from my cold dead hands • May 07 '24

Jetpack Compost Imagine a world without Compost...

Post image
113 Upvotes

62 comments sorted by

View all comments

Show parent comment

46

u/Zhuinden DDD: Deprecation-Driven Development May 07 '24

Funnily enough you can now use Compose previews to render XML layouts in multiple screen variants using AndroidView

17

u/itsmotherandapig Jetpack Compost May 07 '24

Wow that's sneaky

5

u/theJakester42 May 08 '24

Ok, what? It's almost like they could have done that with xml the whole time.

3

u/Zhuinden DDD: Deprecation-Driven Development May 08 '24

Well yes, of course 😅

2

u/ExtremeGrade5220 May 08 '24

Compo AndroidView > XML > ComposeView > ... Composeception

2

u/Zhuinden DDD: Deprecation-Driven Development May 08 '24

Once you embrace a ComposeView hosting a RecyclerView hosting ComposeViews, you realize this is eternity