Getting started with Jetpack Compose
Jetpack Compose is Android’s modern toolkit for building native UI. It simplifies and accelerates UI development with less code, powerful tools, and intuitive Kotlin APIs.
Why Compose
- Declarative UI model
- Less boilerplate
- State-driven and testable
State basics
Use remember and State
Navigation
Navigation Compose provides a simple way to handle in-app navigation with a composable-based API.
Tip: keep composables small and focused; preview them regularly.