Compose Layout, Lists & Modifiers
UI › Compose UI
Drills Compose containers, lazy lists, modifier-order semantics, list keys, and CompositionLocal.
Layout, lists, and modifiers are the bread and butter of any Compose UI role, so interviewers probe them to check you understand declarative composition rather than just memorizing APIs. Expect questions on how modifier order changes rendering, why lazy lists need keys and contentType, and how the single-pass layout model differs from the View system. Strong answers tie each choice to correctness, state preservation, and scroll performance.
What this covers
- Choosing Column, Row, Box, and their arrangement/alignment parameters correctly
- Predicting how modifier order (padding vs background vs clickable) changes output
- When LazyColumn/LazyRow/LazyVerticalGrid beat a scrollable Column, and how to configure them
- Why stable keys and contentType matter for state, animation, and recycling
- Scope-safe modifiers like weight, align, and matchParentSize
- Providing and reading values via CompositionLocal without prop-drilling
Study this topic
- Compose Layout, Lists & Modifiers explained: the guided lesson
- 14 practice quiz questions
- 9 revision flashcards
- Compose Layout, Lists & Modifiers interview questions and answers