All skills

Languages & Frameworks

Jetpack Compose

Overview

Jetpack Compose is an open-source reactive user interface (UI) framework developed by Google for cross-platform software development in Kotlin. The first preview was announced in May 2019, and the framework was made ready for production in July 2021.

Read more

How it works

kotlin
@Composable
fun Greeting(name: String) {
    Text(text = "Hello, $name!")
}

The flow

Step by step, from source to running.

  1. 1Describe UI in @Composable functions
  2. 2Compose compiler builds a UI tree
  3. 3State changes trigger recomposition
  4. 4Renders natively on Android

Links

More in Languages & Frameworks