KEMBAR78
Compose UI | PPTX
Jetpack Compose UI
”a modern declarative UI Tookit to simplfy and
accelerate native Android Ui development with less
code, powerfull tools and intuitive Kotlin APIs”
Key points
• Built entirely with Kotlin (Compose Compiler – Kotlin Compiler plugin)
• Not views – Modules to create UI
• Unbundled from OS – same code for Mobile and Desktop apps
• It’s easy to create custom views – uses Canvas under the hood.
• Compatible with existing Android apps, so you can adopt it
progressively
• Open source – can see progress and contribute
• Currently in Alpha stage. Don’t use in production!!!
Ui as a function
State
Internal State As a paramter
Not more reference to views
Not more reference to views
Not more reference to views
Not more reference to views
Composable functions
Current Issues
• Navigation
•Maintaining State (ViewModel, SavedInstance)
• Dependency Injection
The End

Compose UI