HomeAndroidNow in Android #80. Media3, Jetpack Compose 1.4, Crash… | by Mozart...

Now in Android #80. Media3, Jetpack Compose 1.4, Crash… | by Mozart Louis | Android Builders | Apr, 2023


Media3, Jetpack Compose 1.4, Crash Administration, App Startup, Mitigating Gentle Verification Points, and extra!

Welcome to Now in Android, your ongoing information to what’s new and notable on this planet of Android growth.

Now in Android can be supplied as a video and podcast.

Media 3 is able to play! We’re happy to announce the total launch of the Jetpack Media3 library, and we encourage everybody to undertake! Media3 is the brand new dwelling for APIs that allow you to create wealthy audio and video experiences. Should you’ve used libraries like ExoPlayer, MediaCompat, or Media2, you’ll discover Media3 to be acquainted. Nonetheless, as a substitute of utilizing these separate libraries, Media3 each supplies a unified API for playback use-cases and expands to cowl new use-cases like video modifying and transcoding. ExoPlayer has a brand new dwelling and is the default implementation of the brand new Participant interface in Media3.

Try the weblog publish for extra info on the 1.0 launch of Media3

As a part of the Compose March ’23 Invoice of Supplies, we’re releasing model 1.4 of Jetpack Compose, Android’s trendy, native UI toolkit that’s utilized by apps equivalent to Airbnb. This launch accommodates new options like Pager and Circulate Layouts, and new methods to type your textual content, equivalent to hyphenation and line-break habits. It additionally improves the efficiency of modifiers and fixes a variety of bugs.

Compose now consists of out-of-the-box help for vertical and horizontal paging between completely different content material. Utilizing VerticalPager or HorizontalPager allows related performance to the ViewPager within the view system. Nonetheless, similar to the advantages of utilizing LazyRow and LazyColumn, you now not must create an adapter or fragments! You possibly can merely embed a composable contained in the Pager:

See what else is new within the Jetpack 1.4 Launch right here!

The MAD Abilities collection centered on Jetpack Compose format and modifiers continued with a group tip from Manuel Perara, Lead Android Engineer at Bumble, who demonstrated enjoyable designs with Lazy layouts.

After which Simona wrapped up the collection, which coated all the things from the fundamentals of layouts and modifiers, to superior ideas equivalent to modifier chaining order and subcomposition.

However Wait! If this wasn’t sufficient, there’s Extra MAD content material!

For ongoing content material, you should definitely examine the MAD Abilities playlist on YouTube, the articles on Medium, or this useful touchdown web page that factors to all of it.

Rebecca Gutteridge chatted with Annyce Davis, VP of Engineering at Meetup and Android GDE, in regards to the affect of utilizing Android Studio’s App High quality Insights window.

Android Studio’s App High quality Insights window lets you uncover, examine, and reproduce points reported by Firebase Crashlytics immediately inside the context of your native Android Studio venture.

Try this video snippet in #TheAndroidShow & the full weblog publish!

Additionally take a look at or brief on What’s your favourite Android Studio AQI characteristic? #Shorts

Listed below are essentially the most notable AndroidX releases because the earlier episode:

Tyson coated an Introduction to App Startup and the do’s and don’t on the subject of “pre-warming app options”, detailing the prices of prewarming in startup time, battery life, and person retention.

Morten particulars Mitigating delicate verification points in R8 and D8 which sheds gentle on tips on how to keep away from the unfavorable affect on runtime efficiency & getting your app to run a bit quicker on older units.

That’s it for this week! with the discharge of Media3 1.0, Jetpack Compose 1.4, the wrap of up of the MAD Skillz Compose Layouts and Modifiers, the affect of prewarming on App Startup, tips on how to mitigate Gentle Verification Points, and extra. Test again quickly for the subsequent replace from the Android developer universe.



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments