Jetpack Compose
Jetpack Compose is an open-source reactive user interface (UI) framework developed by Google for cross-platform software development in Kotlin.
≈ 2 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
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 20191, and the framework was made ready for production in July 2021.
In Compose, a user interface is defined using functions that have been annotated with the @Composable annotation, which are known as composable functions and define the screen's state. Jetpack Compose uses a Kotlin compiler plugin to transform composable functions into UI elements.
For example, the following code defines a simple UI element: @Composable fun Greeting(name: String) { Text(text = "Hello $name") }
History
The first preview of Jetpack Compose was announced at the Google I/O conference in May 2019. The developer preview was released in October 2019, and the alpha release occurred in August 2020. Compose entered its beta phase in February 2021, with its first production release taking place that July.
See also
List of Kotlin software and tools
Text derived from https://en.wikipedia.org/w/index.php?oldid=1374393167 under CC BY-SA 4.0; modifications have been made.
References
- ↩Wikipedia “Jetpack Compose” release date (×1) · confidence 0.95 revision URL