Constraints and modifier order – MAD Skills



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 →
Learn more about Compose modifiers →
Try out the Layouts in Jetpack Compose codelab →
Watch more MAD Skills episodes →

Catch more videos →
Subscribe to Android Developers →

#Featured #Android #MADSkills

Watch more new videos about Android | Synthesized by Mindovermetal English

Rate this post

Bài viết liên quan

Theo dõi
Thông báo của
guest
8 Comments
Cũ nhất
Mới nhất Được bỏ phiếu nhiều nhất
Phản hồi nội tuyến
Xem tất cả bình luận
Android Developers

Catch more videos → https://goo.gle/layouts-mad

Ramez Snober

Well done video, it helps you to easily understand how modifier works behind the scene

آمن

Layout Editor for Flutter Coming or Existing!

AmirHossein Ghafoorian

amazing video, thanks a lot

Chí Công Vũ

Love it <3

Agung Watanabe

I actually can't believe someone still thinking that modifier order doesn't matters

MET

I thought we were going away from Views because the View class had gotten too bloated, but now it feels like we just have a bloated Modifier class 😅

zaryab K5888

question I used border on column like bending the top left and top right edges but the ripple effect or the click effect still took the whole column