The Android team at Google has announced that Jetpack Compose 1.0 is now available. Jetpack Compose is a UI toolkit for Android developers. According to the team, Compose has been developed in the open for the past two years with participation from the Android community. As of this 1.0 release, there are already 2000 apps in the Play Store that have utilized Compose. We designed Compose to make it faster and easier to build native Android apps. With a fully declarative approach, you describe your UI and Compose care of the rest.
As app state changes, your UI automatically updates, making it simpler to build UI quickly. Intuitive Kotlin APIs help you create beautiful apps with way less code and native access to all existing Android code means you can adopt at your own pace. Powerful layout APIs and code-driven UI make it easy to support different form factors, like tablets and foldable, and
Compose support is coming for WearOS, Homescreen Widgets, and more,” Anna-Chiara Bellini, product manager at Google, and Nick Butcher, developer relations at Google, wrote in a post. Jetpack Compose is designed to be interoperable with existing apps, integrate with Jetpack libraries, and offer Material Design components. The team explained that its Lazy features provide a simple and powerful way to display data lists without requiring much boilerplate code. Compose also has a selection of animation APIs to make it easier to build animations into Android apps.
This 1.0 release introduces Compose Preview, available in Android Studio Arctic Fox, allowing developers to see their Composables in different states, light and dark themes, or different font scalings. This makes component development easier since developers don’t have to deploy a whole app to a device to see what those changes look like.