头图

Three highlights of modern Android development

Android开发者
中文

Author/Modern Android Development Team

This year's Google I/O conference introduced a large number of updates about modern Android development. The three highlights you need to know the most can be Click here view related videos.

#1: A large number of new Jetpack libraries are now released!

In recent months, several Jetpack libraries have entered the stable phase, Beta phase, or have released Alpha test versions. Some of the highlights are as follows:

To learn more about the latest updates and learn more about Macrobenchmark, please watch the following video:

#2: Checker

Through all the inspectors provided by Android Studio Arctic Fox, you can easily debug your application: For background work, such as understanding the status of the WorkManager worker, you can use the background task inspector; for the UI of Android View and Compose, you can use the layout inspector (Layout Inspector) ; For database debugging, you can use Database Inspector (database inspector) .

To see the actual application of the checker, please watch video .

#3: New features in Kotlin

We will continue to improve Kotlin at all levels of Android (from tools to APIs) and provide you with different learning methods. Kotlin Symbol Processing %20is,run%20up%20to%202x%20faster) (KSP) has now released the Alpha version, and provides a simplified compiler plug-in API, which can run twice as fast as KAPT. We are working with JetBrains to solve the performance problems in the IDE, and we can see that the generation speed of automatic import suggestions has been increased by 20 times. We have added StateFlow support for DataBinding and a new API for observing the Flow in the UI without using DataBinding. To learn about all the improvements we have made on Kotlin, please watch video .

You can find all the Google I/O conference speeches on modern Android development this year YouTube playlist Bilibili see more Google I/O 2021 highlights.

阅读 995

Android_开发者
Android 最新开发技术更新,包括 Kotlin、Android Studio、Jetpack 和 Android 最新系统技术特性分享。

Android 最新开发技术更新,包括 Kotlin、Android Studio、Jetpack 和 Android 最新系统技术特性分享。...

378 声望
2k 粉丝
0 条评论

Android 最新开发技术更新,包括 Kotlin、Android Studio、Jetpack 和 Android 最新系统技术特性分享。...

378 声望
2k 粉丝
文章目录
宣传栏