This article briefly introduces the Jetpack Compose layout principle, manually implements custom vertical layout (Column) and simple waterfall flow layout, and gives the complete code
WorkManager is the recommended solution for persistent work. Work is persistent when the schedule is maintained through application restarts and system restarts.
Lifecycle is the basic implementation principle of Jetpack. Learn how to perceive and manage the lifecycle, and how to implement custom lifecycle components in general.
App Startup is a library used to speed up App Startup. Previously, third-party libraries were initialized in onCreate of the Application. Now more and more...
Databinding+LiveData was found to be a low-cost implementation of no-restart peels - No-restart dynamic peels (no need for recreate()) - no need to make skin...
For Compose data, we're pretty familiar with using a mutableStateOf() package to listen on refreshing. What if one data depends on another or more data?...
WorkManager and Seriver are not a concept, nor are they directly related. Seriver is one of the four components of the Android system. WorkManager is...
The previous section summarized three ways of writing the variable in Compose: and explained the differences between the first two. In this video we'll look...
To display data in Compose, you typically store it in variables and wrap it with mutableStateOf for automatic listening. But there are three ways to...
In the introduction we will continue to talk about Lifecycle. From the previous article we will know about the basic functions of the Lifecycle class....
In the previous two articles we talked about the role of Lifecycle and how activities can deliver Lifecycle events to Lifecycle. See # Jetpack component...
This chapter goes directly through the LiveData features accepted in the previous chapter to see how they are implemented. In fact, the core implementation of...
For Android development, we must be very familiar with the Activity/Fragment life cycle, the following is the official Activity life cycle diagram: for the component...
Welcome to Jetpack DataStore, a new and improved data storage solution designed to replace the old SharedPreferences. Jetpack DataStore is developed based on Kotlin coroutines...