What is Jetpack Compose?
Jetpack Compose replaces XML layouts with Kotlin functions that describe the UI. When data changes, Compose redraws only what is needed. Google now recommends it for new Android apps.
Android developers use Compose for phones, tablets, Wear OS and TV. Compose Multiplatform from JetBrains extends the same ideas to iOS, desktop and web.
How to use this Jetpack Compose roadmap
Learn Kotlin basics first; Compose relies on lambdas, data classes and coroutines. Then follow the steps in order.
Build one app all the way through, such as an expense tracker, and add features at each step.
1Step 1: Kotlin and Android setup
The base you need before Compose.
What is it?
Install Android Studio, create a Compose project and review the Kotlin features Compose uses most.
What to learn
Use the Compose Preview pane. It shows UI changes without running the app.
Learn each topic here
Android Studio
Project templates, emulator and Layout Inspector.
Why it matters: Your main workspace.
Kotlin essentials
Lambdas, data classes, null safety and extension functions.
Why it matters: Compose code is pure Kotlin.
Coroutines basics
suspend functions and launching work.
Why it matters: Async work in apps.
Gradle and dependencies
Version catalogs and the Compose BOM.
Why it matters: Keeps libraries in sync.
Activity and lifecycle
How an app starts and setContent works.
Why it matters: Entry point to Compose.
Example
kotlin
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent { MaterialTheme { Greeting("Dubai") } }
}
}
@Composable
fun Greeting(city: String) = Text("Hello from $city")The minimum Compose app.
Helpful resource: Android Compose tutorial
2Step 2: Composables and layouts
Build screens from small pieces.
What is it?
Composable functions, layout containers, modifiers and Material 3 components make up every screen.
What to learn
Keep composables small and reusable. Pass data in, send events out.
Learn each topic here
Composable functions
Functions annotated with @Composable that emit UI.
Why it matters: The building block.
Row, Column and Box
Basic layout containers.
Why it matters: Arrange elements.
Modifiers
Padding, size, click handling and order of modifiers.
Why it matters: Style and behaviour.
Material 3
Buttons, cards, top bars and theming.
Why it matters: Consistent, modern look.
Lazy lists
LazyColumn and LazyRow for long lists.
Why it matters: Efficient scrolling.
Example
kotlin
@Composable
fun ExpenseRow(e: Expense, onClick: () -> Unit) {
Row(Modifier.fillMaxWidth().clickable(onClick = onClick).padding(16.dp)) {
Text(e.title, Modifier.weight(1f))
Text("AED %.2f".format(e.amount), fontWeight = FontWeight.Bold)
}
}A reusable list row with a modifier chain.
Helpful resource: Compose layouts basics
3Step 3: State and side effects
Make the UI react to data.
What is it?
State drives recomposition. Learn remember, state hoisting and effect APIs for work outside the UI.
What to learn
Hoist state up to the caller. Stateless composables are easier to test and reuse.
Learn each topic here
remember and mutableStateOf
Hold state across recompositions.
Why it matters: Interactive UI.
State hoisting
Move state to the parent and pass events down.
Why it matters: Reusable components.
rememberSaveable
Survive rotation and process death.
Why it matters: No lost input.
Side effects
LaunchedEffect, DisposableEffect and rememberCoroutineScope.
Why it matters: Run work safely.
Recomposition
When and why UI redraws.
Why it matters: Avoid bugs and slow screens.
Example
kotlin
@Composable
fun AmountField(value: String, onValueChange: (String) -> Unit) =
OutlinedTextField(value, onValueChange, label = { Text("Amount (AED)") })
@Composable
fun AddExpense() {
var amount by rememberSaveable { mutableStateOf("") }
AmountField(amount) { amount = it }
}A stateless field with state hoisted to the parent.
Helpful resource: State in Compose
4Step 4: Architecture and data
Structure a real app.
What is it?
Use ViewModels, unidirectional data flow, Room for local storage, Retrofit for APIs and Hilt for dependency injection.
What to learn
Expose one UI state object per screen from the ViewModel as a StateFlow.
Learn each topic here
ViewModel and StateFlow
Screen logic and observable state.
Why it matters: Survives configuration changes.
Unidirectional data flow
State down, events up.
Why it matters: Predictable UI.
Room
Local SQLite database with Kotlin APIs.
Why it matters: Offline data.
Retrofit and Ktor
Network calls to REST APIs.
Why it matters: Real data.
Hilt
Dependency injection.
Why it matters: Testable, modular code.
Example
kotlin
@HiltViewModel
class ExpensesViewModel @Inject constructor(repo: ExpenseRepo) : ViewModel() {
val state: StateFlow<List<Expense>> = repo.observeAll()
.stateIn(viewModelScope, SharingStarted.WhileSubscribed(5_000), emptyList())
}
// In UI: val list by vm.state.collectAsStateWithLifecycle()A ViewModel exposing Room data as StateFlow to Compose.
Helpful resource: Guide to app architecture
5Step 5: Navigation, animation and testing
Polish and protect the app.
What is it?
Navigation Compose handles screens, animation APIs add polish, and Compose testing APIs check UI behaviour.
What to learn
Write UI tests using semantics such as text and content descriptions, which also improves accessibility.
Learn each topic here
Navigation Compose
Routes, arguments and back stack.
Why it matters: Multi-screen apps.
Animations
animate*AsState, AnimatedVisibility and transitions.
Why it matters: Smooth, clear UI.
Compose UI tests
createComposeRule, finders and assertions.
Why it matters: Catch UI regressions.
Accessibility
Content descriptions, touch targets and TalkBack.
Why it matters: Usable by everyone.
Adaptive layouts
Window size classes for tablets and foldables.
Why it matters: Works on every device.
Example
kotlin
@get:Rule val rule = createComposeRule()
@Test fun addsExpense() {
rule.setContent { AddExpenseScreen() }
rule.onNodeWithText("Amount (AED)").performTextInput("45")
rule.onNodeWithText("Save").performClick()
rule.onNodeWithText("AED 45.00").assertIsDisplayed()
}A Compose UI test for adding an expense.
Helpful resource: Testing Compose
6Step 6: Performance and multiplatform
Expert level: fast apps on many platforms.
What is it?
Experts tune recomposition, use baseline profiles, ship to the Play Store and share UI with Compose Multiplatform.
What to learn
Use Layout Inspector recomposition counts to find screens that redraw too often.
Learn each topic here
Stability and recomposition
Stable types, keys and derivedStateOf.
Why it matters: Smooth scrolling.
Baseline profiles
Speed up app start and scrolling.
Why it matters: Better first impressions.
Custom layouts and drawing
Layout and Canvas APIs.
Why it matters: Unique UI.
Compose Multiplatform
Share UI with iOS and desktop.
Why it matters: One codebase, more platforms.
Release and Play Store
App bundles, signing and staged rollouts.
Why it matters: Ship safely.
Example
kotlin
LazyColumn {
items(expenses, key = { it.id }) { e -> ExpenseRow(e) { open(e.id) } }
}
val total by remember(expenses) { derivedStateOf { expenses.sumOf { it.amount } } }Stable keys and derived state reduce unnecessary recomposition.
Helpful resource: Compose performance
Jetpack Compose roadmap project ideas
Keep one main app on GitHub and grow it, with screenshots and a short architecture note.
Profile card
A static screen using Preview and Material 3.
Tip calculator
State, input and simple logic.
Expense tracker
Room, ViewModel and lists.
News reader
Retrofit, paging and navigation.
Tested, adaptive app
UI tests, tablets and animation.
Multiplatform app
Shared Compose UI on Android and iOS.
Tips to finish this Jetpack Compose roadmap
- Think in state. UI is a function of state, not a set of manual updates.
- Read Google samples. Now in Android shows best practices.
- Test on real devices. Low-end phones reveal performance problems.
- Keep XML basics. Many jobs still maintain older views.
Career paths and next steps
Compose skills lead to Android developer, mobile engineer and Kotlin Multiplatform developer roles. Banks, delivery apps and super apps in the Gulf are moving Android teams to Compose.
Next, deepen Kotlin, learn Android architecture deeply or add iOS with SwiftUI.
Related roadmaps
Jetpack Compose Roadmap FAQs
Is Jetpack Compose replacing XML?
For new apps, yes. Google recommends Compose, though XML views remain in many existing apps.
Do I need Kotlin for Compose?
Yes. Compose is built for Kotlin.
How long does it take to learn Compose?
With Kotlin basics, about 3 to 5 months to build production apps.
Can Compose build iOS apps?
Yes, through Compose Multiplatform by JetBrains.