Posted by Jolanda Verhoef, Android Developer Relations Engineer
At the moment, 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 helpful option to construct new Android apps for telephone, tablets and foldables. At the moment 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 staff ship sooner utilizing Compose:
“Compose elevated our productiveness dramatically. It’s a lot simpler and sooner to write down a Composable perform than to create a customized view, and it’s additionally made it a lot simpler to meet our designers’ necessities.”
Compose 1.2 consists of plenty of updates for Compose on Telephones, Tablets and Foldables – it accommodates new secure 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 will likely be decoupled from the releases of different Compose libraries. Learn extra in regards to the rationale for this in our weblog submit on impartial versioning of Jetpack Compose libraries.
New secure options and APIs
A number of options and APIs have been added as secure. Highlights embody:
New Experimental APIs
We’re persevering with to carry new options to Compose. Listed here are a number of highlights:
We mounted numerous points raised by the group, most notably:
We’re grateful for all the bug stories 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? Take a look at our up to date roadmap to see the options we’re at the moment serious about and dealing on, similar to animations for lazy merchandise additions and removals, move 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!
Completely satisfied composing!