Component -- Abstract the root node. Defines the default behavior of interfaces common to all classes. (View) Composite -- The behavior of the branches that...
In the previous article about component-based development, we mentioned that we can extract and package some common function libraries, such as network library, image loading...
The immersive status bar is a bit of a hassle in Android development, because there are so many compatibility issues between different models and versions,...
Concurrency: Concurrency refers to the concurrency of only one command running at a time. The concurrency effect is similar to that of multiple processes running...
First, analyze the transition process. We define the startView as startView and endView respectively. StartView is a common list layout with the head picture on...
Hilt or Koin does dependency injection across the globe. That's why we have to do this first. Dependency injection commonality, different implementations of HILT and...
RecyclerView table item animation is how to achieve? How many times will RecyclerView do table item animation layout? What does pre-layout mean? Let's read the...
Kotlin-android-extensions extension has been deprecated and its Parcelable functionality has been migrated to kotlin-Parcelize. **ViewBinding** is recommended for ViewBinding. The advantage of this plugin is...
For the use of ClipChildren and some processing in the practical application. In the example is some understanding of the API, a specific and commonly...
If you want a simple, efficient and flexible way to integrate TensorFlow into your Flutter application, don't miss the new plugin tflite_FLUTTER that we introduced...
By observing changes in the Fragment life cycle, we can easily see that add/remove causes the Fragment to migrate between INITIALIZING and RESUMED states. The...
Thread brain map Thread creation methods: Runnable method: Thread subclass method: FutureTask Method: Lifecycle of a Thread: 6 states of a Thread: Common methods of...
1. Why should layout optimization and Android drawing be carried out? Principle of layout loading 2. Method of obtaining the loading time of layout file...
StartActivityUnchecked When an Activity is not being reused, AMS will try to generate a new Activity. At this point, of course, you can't just generate...
Broadcast is a widely used mechanism for transmitting information between applications, while broadcastReceivers are components used to receive and respond to Broadcast pairs from systems...
Today we're going to talk about a small detail of the View drawing process, the custom drawing order. View of the three processes, measurement, layout,...