Jetpack Compose

visit website

Jetpack Compose is a modern toolkit designed to simplify UI development. It combines a reactive programming model with the conciseness and ease of use of the Kotlin programming language. It is fully declarative, meaning you describe your UI by calling a series of functions that transform data into a UI hierarchy. When the underlying data changes, the framework automatically recalls these functions, updating the view hierarchy for you.

Why do we adopt this technology?

Jetpack Compose simplifies and accelerates UI development on Android with less code, powerful tools, and intuitive Kotlin APIs. Compared to the classic View system, which is more than 10 years old, Compose is a modern approach to UI development, which learned from other reactive UI toolkits like React and Flutter. It decouples the UI from the OS, meaning no more dependency on OS updates to get the latest look-and-feel. To ease the migration, it's possible to add Compose to a View app, and to use Views within Compose. Besides that, by using Kotlin Multiplatform, it's also possible to create web, desktop, and in a very early stage even iOS UI using Compose.

Related technologies

Compose Multiplatform

Trial

Compose Multiplatform is a declarative framework for sharing UIs across multiple platforms with Kotlin. It is based on Jetpack Compose and developed by JetBrains and open-source contributors.

You can choose the platforms across which to share your UIs using Compose Multiplatform:

(as of 22/06/2023)