Posted by Jolanda Verhoef, Android Developer Relations Engineer
At this time, we’re releasing model 1.2 of Jetpack Compose, Android’s trendy, native UI toolkit, persevering with to construct out our roadmap. This launch comprises new options like downloadable fonts, lazy grids, and enhancements for tablets and Chrome OS with higher focus, mouse, and enter dealing with.
Compose is our advisable technique to construct new Android apps for cellphone, tablets and foldables. At this time we additionally launched Compose for Put on OS 1.0 – making Compose one of the best ways to construct a Put on OS app as nicely.
We proceed to see builders just like the Twitter engineering crew ship quicker utilizing Compose:
“Compose elevated our productiveness dramatically. It’s a lot simpler and quicker to jot down a Composable perform than to create a customized view, and it’s additionally made it a lot simpler to satisfy our designers’ necessities.”
Compose 1.2 consists of quite a lot of updates for Compose on Telephones, Tablets and Foldables – it comprises new steady APIs graduated from being experimental, and helps newer variations of Kotlin. We have already up to date our samples, codelabs, Accompanist library and MDC-Android Compose Theme Adapter to work with Compose 1.2.
Be aware: Updating the Compose Compiler library to 1.2 requires utilizing Kotlin 1.7.0. From this level ahead the Compiler releases can be decoupled from the releases of different Compose libraries. Learn extra concerning the rationale for this in our weblog publish on unbiased versioning of Jetpack Compose libraries.
New steady options and APIs
A number of options and APIs have been added as steady. Highlights embrace:
New Experimental APIs
We’re persevering with to carry new options to Compose. Listed here are just a few highlights:
Check out the brand new APIs utilizing
@OptIn and give us suggestions!
We mounted a variety of points raised by the group, most notably:
We’re grateful for the entire bug reviews and have requests submitted to our difficulty tracker – they assist us to enhance Compose and construct the APIs you want. Do proceed offering your suggestions and assist us make Compose higher!
Questioning what’s subsequent? Try our up to date roadmap to see the options we’re at present desirous about and dealing on, comparable to animations for lazy merchandise additions and removals, movement layouts, textual content enhancing enhancements and extra!
Jetpack Compose continues to evolve with the options you’ve been asking for. We’ve been thrilled to see tens of hundreds of apps utilizing Jetpack Compose in manufacturing already, and a lot of you shared the way it’s improved your app growth. We are able to’t wait to see what you’ll construct subsequent!
Completely satisfied composing!