

Read more about how to use them in our animation guidance. Easing curves were added that help write beautiful animations efficiently.Learn more in the gestures documentation. Here’s a sample demonstrating this new functionality. Modifier.nestedScroll provides nested scroll interoperability with views.This class is heavily based on the Accompanist insets library, and replaces it as the preferred mechanism for Insets. These APIs already existed in Compose 1.1 but were marked as The WindowInsets class provides modifiers such as windowInsetsPadding, systemBarsPadding, and windowInsetsTopHeight to deal with the insets of the device. The APIs LazyHorizontalGrid and LazyVerticalGrid let you place lists of items in a grid.Several features and APIs were added as stable. Read more about the rationale for this in our blog post on independent versioning of Jetpack Compose libraries. From this point forward the Compiler releases will be decoupled from the releases of other Compose libraries. Note: Updating the Compose Compiler library to 1.2 requires using Kotlin 1.7.0. We've already updated our samples, codelabs, Accompanist library and MDC-Android Compose Theme Adapter to work with Compose 1.2. ”Ĭompose 1.2 includes a number of updates for Compose on Phones, Tablets and Foldables - it contains new stable APIs graduated from being experimental, and supports newer versions of Kotlin. It’s much easier and faster to write a Composable function than to create a custom view, and it’s also made it much easier to fulfill our designers’ requirements. “ Compose increased our productivity dramatically.


We continue to see developers like the Twitter engineering team ship faster using Compose: Today we also released Compose for Wear OS 1.0 - making Compose the best way to build a Wear OS app as well. This release contains new features like downloadable fonts, lazy grids, and improvements for tablets and Chrome OS with better focus, mouse, and input handling.Ĭompose is our recommended way to build new Android apps for phone, tablets and foldables. Today, we’re releasing version 1.2 of Jetpack Compose, Android's modern, native UI toolkit, continuing to build out our roadmap. Posted by Jolanda Verhoef, Android Developer Relations Engineer
