Why write this series of blogs?
Because in the Android development process, generics, reflection, annotations will be used, almost all frameworks will use at least one or two of the above knowledge, such as Gson, generics, reflection, annotations, Retrofit also used generics, reflection, annotations. It is very important for us to learn thes ...
Posted on Thu, 10 Oct 2019 00:03:37 -0700 by new2phpcode
In recent years, compile-time piling technology has become more and more popular in Android circle. Whether it's ButterKnief, Dagger, VirtualAPK that can generate JAVA source code, or even Kotlin, a new language, all use compile-time pil ...
Posted on Tue, 13 Aug 2019 20:30:03 -0700 by shikhartandon
Links to the original text: https://www.jianshu.com/p/8b4f801bff10
What is annotation?
java.lang.annotation, interface Annotation, introduced in JDK 5.0 and later versions.
Annotations are special tags in code that can be read at compi ...
Posted on Tue, 06 Aug 2019 03:38:41 -0700 by mikeglaz
Hello! Hello, I'm Mr. Snail. ~We met again. This article is the second one of Mr. Snail's chats about dynamic layout framework. In the last article, we explained the general idea of the framework and reviewed the basic usage of RecyclerView. So in this article, we will formally begin to build the framew ...
Posted on Wed, 31 Jul 2019 18:54:09 -0700 by paulareno
First look at the effect
The NavigationView and DrawerLayout controls have been added to the Android Design Support Library.Replace use in SlidingMenu project!
Let's learn how to use DrawerLayout and NavigationView here!
Add dependencies to your project:
In Material ...
Posted on Mon, 08 Jul 2019 10:40:36 -0700 by laduch
In the last article NetworkStateView At the end of the article, we can set up a unified NetworkStateView in BaseActivity to load multi-state of the interface. So let's talk about BaseActivity today. How to set up NetworkStateView in BaseActivity and some other functions of BaseActivity? We haven't seen NetworkStateView before. Once This article ...
Posted on Sat, 06 Jul 2019 13:50:11 -0700 by joon
Reproduced from: http://blog.csdn.net/caroline_wendy/article/details/50587230
Android version 6.0 (Api 23) has introduced a number of new features that dramatically enhance the user experience and place new burdens on programmers. Dynamic rights management is like this, making it easier for users to control their privacy and re-adapting their ...
Posted on Sat, 06 Jul 2019 09:50:43 -0700 by mm00
I believe there will be many similar requirements, a list control, and then a head above the control needs to be customized, so it is not good sometimes can not be added to the head of the list control, it must nest a layer of scroll lview, no problem, then the general list control is a drop-down operation, and generally find a high collection ...
Posted on Mon, 17 Jun 2019 13:54:54 -0700 by aurigus
Android AOP Three Swordsmen: APT, AspectJ, Javassist
APT(Annotation Processing Tool) parses annotations at code compilation time and generates new Java files to reduce manual code input. APT is now used in many mainstream libraries, such as Dagger 2, ButterKnife, EventBus3, etc.
Posted on Sun, 19 May 2019 15:55:36 -0700 by bloo
Unified Management of Gradle Dependencies in Android Studio
Original link Unified Management of Gradle Dependencies in Android Studio
Why should Gradle be managed in a unified way?
In a real Project, there are often multiple modules in a Project. If each Module has the same dependencies, such as v4 packages, it is tr ...
Posted on Sat, 18 May 2019 21:11:59 -0700 by ryanwood4