Defines an object for the Android life cycle. The Fragment and FragmentActivity classes implement the LifecycleOwner interface and are available via getLifecycle
Many collection frameworks use the array and linked list in the underlying structure of the two data structures, they have a great difference in data...
While studying Jetpack recently, Lifecycle optimization was needed for the map aspect of the project. Lifecycle is a Lifecycle aware component that addresses Lifecycle issues...
Handler as a daily development requirement, it is inevitable that this knowledge will be involved. From the developer's point of view, The Handler is the...
Coil is a new image loading framework for Android. Its full name is Coroutine Image Loader. Compare with traditional image loading libraries such as Glide,...
Implementation using Smack and XMPP protocol; Use netty to implement Socket directly; WebSocket to achieve; . This is a very interesting question and I look...
1, apktool use 2, decompile add code smali syntax simple understand point on the line, the beginning with notepad++ add and subtract code, command line...
This article will first HTTP characteristics and advantages and disadvantages, and then will introduce HTTP long connection and short connection management in detail, through reading...
Variables and functions (methods) are the two most important types of syntax for a language. Thanks to Kotlin syntax sugar, JVMS that don't normally support...
The last tweet briefly introduced the interaction with the map, such as moving, zooming, clicking, screenshots, etc., are very common business. Let's learn how to...
Bug1: Loader classes are found in old secondary dex in the actual development process, most applications will encounter the problem of 64K limit, the solution...
Lifecycle is a Component from Google that can sense the Lifecycle of components such as activities/fragments. With Lifecycle, we can avoid writing too much logic...
In fact, the most common network request framework in project development is OkHttp+Retrofit. In the previous article, OkHttp was analyzed from the perspective of network...
The previous article covered updates to the VirtualView tool, but we need a more convenient development experience, such as a live preview. In Cat guest,...
As the direction of Android C++ series of articles, not only introduces C++ related knowledge, Android main development language is Java, the article will try...
This article introduces a thread merge problem that can not be avoided when using PlatformView scenarios with Flutter multiple engines, and its final solution, and...
When pictures are displayed on the canvas, matrix maps the original picture to the canvas. When you calculate the coordinates of the rectangle corresponding to...
We often use TreeSet or HashSet from the Java standard library, whose underlying implementations are red-black trees and hash tables, respectively. In this paper, we...
Generally, there are two ways to determine whether an object is "dead", one is reference counting and the other is reachability analysis. Add a reference...