Android reveals updates focused on developer productivity

Linh Le

At Google I/O this week, the Android team revealed updates and changes aimed at making Android developers more productive.

First, the team announced that they will be putting more of a focus on making Android development Kotlin-first. This means that new Jetpack APIs and features will be offered in Kotlin and there will be more investment in Kotlin tooling, docs, training, and events. Furthermore, they recommend that new projects be written in Kotlin.

New Jetpack libraries
The team also released six new alpha Jetpack libraries and five beta ones. Android Jetpack is an API that accelerates development and makes it easier to write Android apps.

Key new libraries include CameraX, Architecture Components, and Jetpack Compose. CameraX is a library to make camera development easier by providing a consistent experience across devices so that developers don’t have to maintain specific configurations for each device. Its new architecture components include a ViewModel with SavedState module, which will enable developers to eliminate boilerplate code. It also added coroutines to LiveData and Lifecycles to support common one-shot asynchronous operations. Jetpack Compose is a library that simplifies UI development by combining a reactive programming model with Kotlin, the team explained.

Android Studio 3.5 beta
The team also released a beta of Android Studio 3.5. According to Google, Android Studio 3.5 includes better IDE memory management, lower typing latency, lint improvements, CPU usage optimizations, layout editor improvements, emulator improvements, and build changes.

It also will include a rewritten version of Instant Run, which is now called Apply Changes. Apply Changes accelerates developers’ ability to see code changes on a device.

Android App Bundle updates
Android App Bundle, which was introduced last year, is getting a number of new updates to help developers reduce app size and deliver apps faster. Dynamic feature modules, now a stable feature, allow developers to reduce app size by choosing what parts of an app to deliver, based on things like device features or country.

It is also moving in-app updates to stable, which will enable developers to dynamically update apps.

Share the news now

Source : https://sdtimes.com