Constraints and modifier order – MAD Skills
Video by Android Developers via YouTube
Source
Modifiers in Compose can be chained and the order in which we do so matters. But how exactly does it matter? In this MAD Skills episode we’ll go beyond your intuition and learn to reason about modifier chaining and how it influences the sizes of our composables.
Chapters:
0:00 – Introduction
0:23 – Phases of Compose
0:59 – Problem set
1:40 – Constraints
3:24 – An example
6:06 – Size modifiers
8:40 – Solutions
11:54 – In conclusion
Resources:
Learn more about Compose phases → https://goo.gle/3jvc0fQ
Learn more about Compose modifiers → https://goo.gle/3JlrE82
Try out the Layouts in Jetpack Compose codelab → https://goo.gle/3wHlgk3
Watch more MAD Skills episodes → http://goo.gle/madskills
Catch more videos → https://goo.gle/layouts-mad
Subscribe to Android Developers → https://goo.gle/AndroidDevs
#Featured #Android #MADSkills