Kotlin collaboration with architecture components and underlying principle analysis
I usually read blogs or learn knowledge. What I learned is scattered. There is no independent concept of knowledge module, and it is easy to forget after learning. So I set up my own Note warehouse (a note warehouse I maintain for a long time. If I'm interested, I can click a star ~ your star is a great driving force for my writing). Class ...
Added by [-_-] on Tue, 01 Feb 2022 14:13:11 +0200
Understanding advanced Java features--notes
1. What are the notes?
Java Annotation, also known as Java Label, is JDK5.0 introduces a mechanism for annotation, which is a form of metadata that provides data about a program but is not part of the program itself and has no direct impact on the code they annotate. How do you understand that? It literally means he's a comment. It's used to a ...
Added by lepad on Mon, 31 Jan 2022 22:05:24 +0200
Layoutinflator analysis in Android
PS: This article is a reprint of the article. It will be more readable to read the original text. There is a link to the original text at the end of the articleps: This article is based on Android Api 26catalogue1. Layoutinflator create View process 1,1 LayoutInflater of rInflate(The method has five parameters) method analysis
1,2 LayoutInfla ...
Added by Thunderfunk on Mon, 31 Jan 2022 13:16:47 +0200
Camera changes in Android 11
There have been some changes in the use of Android 11 cameras
It's nearly two years since my last blog. In these two years, I have learned vue, applet and React, and less about Android, so I haven't written much blog. Recently, I changed my job and returned to Android, so I plan to write bloggers and record some pits or new knowledge points I ...
Added by aswini_1978 on Mon, 31 Jan 2022 09:28:39 +0200
Google releases, plays ShapeableImageView and bid farewell to third-party libraries
preface
Anyone who has done Android development knows that Android UI development takes time and effort to achieve irregular picture effects, such as the old round corner and round picture. Either introduce third-party controls or customize ImageView. The third-party controls may not be satisfied, but the customized ImageView has certain requi ...
Added by g-force2k2 on Mon, 31 Jan 2022 08:54:43 +0200
Learn how to solve difficult problems in actual combat of Flutter project
/How to view Internet layoffs/
/Although I'm good at cooking/
/But/
/I never stop studying/
/I also bought online courses/
/Congratulations on getting the title of huoyun evil god in your study/
/Talking about the anxiety and panic caused by layoffs on the Internet/
/In fact, I think this is the reaction of most people when ...
Added by tolli on Mon, 31 Jan 2022 04:21:46 +0200
Record the experience of learning the basics of Android 05: common controls (basic)
Success leads to resentment, and power is a crisis—— Reading biographies of generals crossing the river by Wang Mai
preface
In experience article 02, some common sense of controls are introduced. This book continues from the above, from easy to difficult, and then introduces the basic knowledge of common controls: common ...
Added by benzrf on Mon, 31 Jan 2022 03:41:47 +0200
Usage and implementation principle of SparseArray
1, Background of SparseArray
I believe everyone has used HashMap to store key value pairs. Recently, when using HashMap in the project, I found that sometimes the IDE will prompt me that the HashMap here can be replaced by SparseArray or SparseIntArray. Careful friends may also find this prompt, and will find that not all hashmaps will prompt ...
Added by Mad_T on Mon, 31 Jan 2022 03:00:17 +0200
The use of Fragment in Android case -- Sichuan cuisine menu
The use of Fragment in Android case -- Sichuan cuisine menu
This case will demonstrate how to display two fragments in one Activity (one Fragment is used to display the list of Sichuan cuisine and one Fragment is used to display the practice of Sichuan cuisine), and realize the communication function between Activity and Fragment
1. Preparati ...
Added by flumpy on Mon, 31 Jan 2022 01:07:48 +0200
Android Publishing Library (jar/aar) to Maven Central
1, Preface: Since Jcenter has stopped serving, we usually publish the library to Maven Central;Maven Central, like Jcenter, is also a public warehouse. The library published on it can be used by yourself and others; Since Android Studio 4.2, Google has made Maven central a part of gradle
2, Process of Publishing Library (jar/aar) to Maven Cent ...
Added by PlasmaDragon on Sun, 30 Jan 2022 21:32:25 +0200