We launched the Compose January ’24 Invoice of Supplies replace, which incorporates model 1.6 of the Compose libraries. This launch largely focuses on efficiency enhancements. We’re seeing an ~20% enchancment in scroll efficiency and ~12% enchancment to startup time in our benchmarks. Moreover, this launch provides assist for the experimental “sturdy skipping mode,” which improves efficiency by enjoyable a number of the guidelines about which modifications can skip recomposition.
The January launch additionally introduces new options like nonlinear font scaling, drag and drop, assist for lookahead scope in Lazy lists, and extra.
For additional info, take a look at Ben’s article.
At Samsung’s Galaxy Unpacked in San Jose, Hiroshi, SVP of the Google Platforms and Ecosystems staff, shared how Google AI is creating new prospects on Android. The brand new Samsung Galaxy S24 sequence will use Gemini, Google’s best-in-class foundational fashions, to energy the subsequent era of AI capabilities, together with the Gemini Nano on-device mannequin.
We applied a brand new instrument that prompts customers to replace to the most recent model of an app. Play restoration instruments enable builders to immediate customers working particular variations of their app to replace each time they restart the app.
Take a look at this story of two indie sport builders that teamed as much as create their very own sport studio. They entered the Quickplay Sport Jam, introduced their sport idea to life and launched it on Google Play.
We had a number of new releases launched in Jetpack libraries:
Together with the January steady launch of Compose, we launched the first alpha model of Compose 1.7, that features even additional efficiency enhancements from migrating Ripple
to a brand new API. When you’ve got custom-made ripple in your app, take a look at the brand new migration documentation. Additionally, this launch consists of the experimental BasicTextField2
, the subsequent era of Compose textual content area APIs! It additionally has highly effective new APIs many builders have requested, just like the OutputTransformation
API.
In Fragment Model 1.7.0-alpha09, we created a brand new fragment-compose
artifact. That is particularly useful for apps which can be within the technique of transferring from a Fragment based mostly structure to a completely Compose based mostly structure. For instance, in fragment-compose
, you possibly can instantly assign the content material
Composable methodology to onCreateView()
methodology with out setting ComposeView
or ViewCompositionStrategy
.
Assortment 1.4.0 provides new high-efficiency collections for storing primitives with out boxing. If you’re a heavy person of checklist, set and map, (I imagine most of you might be) examine this out.
We additionally up to date Take a look at Core Model 1.6.0-alpha05 together with different 9 testing libraries. Since this launch, we bumped the minimal API requirement to 19 (Android KitKat 4.4).
You’ll be able to see all of the AndroidX launch notes right here.
That’s it for this week with Jetpack Compose replace, different Jetpack library releases, Gemini on Samsung Galaxy, Play restoration instruments, and extra!
Test again quickly to your subsequent replace from the Android developer universe, and pleased lunar new 12 months! 💫