three Issues To Know About Jetpack From Android Dev Summit 2019

Posted by Jisha Abubaker, Product Supervisor

Final month, #AndroidDevSummit was filled with bulletins and new strategies … a lot in order that we might not be stunned to overlook one thing. So all this month we might be diving into key areas all alongside the summit so we don’t miss something. We had beforehand put ahead Jetpack Compose, Kotlin and Android Studio. Right now, we spotlight the remainder of Android Jetpack with the three foremost issues to know:

# 1: Plenty of new and up to date Jetpack libraries prepared to be used:

WorkManager 2.2 (steady) has launched main updates within the newest variations, with options reminiscent of on-demand booting, bettering software startup time when working on-demand. use of WorkManager and improved help for testing. Hearken to extra data on new options and finest practices.

Room 2.2 (Secure) is stuffed with options that you simply've additionally utilized for: predefined databases, higher relationship help, and now, improved help for Kotlin Circulate. Take a look at what's new within the room to meet up with you.

Benchmarking (steady) helps you measure in actual time the execution of duties in your software. Right here is an summary of how you should use the library to fight efficiency regressions in CI, as we do for the Jetpack and Compose libraries ourselves.

LiveData with Corutines and Streaming Help Kotlin (1945) : Corutines and Kotlin feeds have been of curiosity to the Android developer group to simplify asynchronous fashions in your functions. Discover ways to get probably the most out of the liveData knowledge generator in your software:

The View Binding (Beta) corresponds to a protected-type answer supplied with Android Studio three.6 Beta with minimal affect at construct time, no extra findViewById (), nor annotation processors. Uncover what's new in Studio for a demo!

No. 2: We’re making ready extra libraries

CameraX (Alpha) simplifies the event expertise and lets you focus in your software taking into consideration the variations between the numerous gadgets of the Android ecosystem, reminiscent of Samsung, Xiaomi, Oppo, Motorola and LG, who already unite behind. CameraX. Quickly, count on the beta, discover out what the digital camera group has been doing since I / O 2019

Safety (Alpha) helps you simplify inactive knowledge encryption to fulfill the wants of your software. Find out about encryption finest practices on Android with the safety library group.

# three: It's time emigrate to androidx!

With all the brand new and up to date Jetpack libraries and the following Jetpack Compose launch, it's time to replace your software and put together it. Nick and Tiem share an important step-by-step plan and group finest practices for migrating to an Android namespace.

… and we additionally heard your feedback!

However Android Dev Summit just isn’t restricted to what now we have to say; additionally it is that you simply inform us what you want to see work to simplify your life. And this yr, our group has strongly emphasised the necessity to present a simplified habit injection developer expertise for Jetpack libraries and lengthen Kotlin's enhanced help to different libraries. jetpack! We deal with it!

Yow will discover the complete playlist of Jetpack classes throughout Android Dev Summit classes and movies right here. We are going to proceed to spotlight different areas later this month, so you should definitely watch and comply with AndroidDevelopers on Twitter. Thanks very a lot for permitting us to be a part of this expertise with you!