Posted by Jolanda Verhoef, Android Developer Relations Engineer
At this time, we’re releasing model 1.2 of Jetpack Compose, Android’s fashionable, native UI toolkit, persevering with to construct out our roadmap. This launch accommodates 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 really useful method to construct new Android apps for telephone, tablets and foldables. At this time we additionally launched Compose for Put on OS 1.0 – making Compose one of the simplest ways to construct a Put on OS app as properly.
We proceed to see builders just like the Twitter engineering group ship sooner utilizing Compose:
“Compose elevated our productiveness dramatically. It’s a lot simpler and sooner to write down a Composable operate 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 a lot of updates for Compose on Telephones, Tablets and Foldables – it accommodates 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 shall be decoupled from the releases of different Compose libraries. Learn extra concerning the rationale for this in our weblog put up on impartial versioning of Jetpack Compose libraries.
New steady options and APIs
A number of options and APIs have been added as steady. Highlights embody:
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!
Fastened Bugs
We fastened numerous points raised by the group, most notably:
We’re grateful for all the bug experiences and have requests submitted to our situation 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 presently eager about and dealing on, resembling animations for lazy merchandise additions and removals, stream 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 lots of you shared the way it’s improved your app improvement. We are able to’t wait to see what you’ll construct subsequent!
Pleased composing!