Google has finally released the stable version of its Android native UI toolkit — Jetpack Compose 1.0 — a powerful UI framework that will make it easier for developers to create interfaces in Android using Kotlin.
Google announced Jetpack Compose earlier — two years ago — but delayed its release. The developers have been waiting for a stable release to integrate Jetpack Compose into their applications, although beta 1.0 was released back in March.
Jetpack Compose should enable the UI design of an Android app with significantly less code than before. This is to be achieved primarily through the use of declarative APIs and the Kotlin programming language, which, in addition to Java, can serve as a standard for Android development. The declared goal is to be able to build native apps for all Android platforms faster and more easily.
Google is pleased that more than 2000 apps in the Play Store have already using Jetpack Compose. In addition, the Play Store app itself uses Compose. The tech giant thanks in particular for the cooperation with the app developers and their feedback.
The main features of Jetpack Compose 1.0 are:
- Layout API that supports various forms such as tablets and foldable devices.
- Compatibility with existing applications.
- Jetpack library integration.
- Material design component and theme implementation for app development reflecting your brand.
- Animation API for embedding animation in application UI.
- Lazy component for listing data with minimal boilerplate code.
- New Compose Preview will allow you to visualize user interfaces in multiple states, change the theme to light or dark, customize fonts and scale.
- The Deploy Preview is designed to help you test the updated code without restarting your application.
The developers also published a roadmap for the tool, where they shared further plans for the development of Jetpack Compose.