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:
- stable version : CameraX , Hilt , Paging 3.0 , ConstraintLayout , MotionLayout and Jetpack Compose (on July entered a stable stage)
- Beta : DataStore
- added Jetpack library (Alpha version now released) : Macrobenchmark , AppSearch and Google Shortcuts
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.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。