I'm in a bad mood. It's been a long time. Let's look at the BaseFragment code
private boolean isViewCreated;
protected boolean isInitData;
private Unbinder mUnBinder;
protected Context mContext;
private CompositeDisposable mCompositeDisposable;
private List<Observer> observerList;
private View view;
Declare some param ...
Posted on Sun, 09 Feb 2020 10:46:48 -0500 by Pr0digy
Introduction to EasyUI
1. Implement butterknife-like IOC frameworks using reflection mechanisms and annotations
2. Fast findViewById and OnClick
3. Extended click without network monitoring
4. Extended Quick Click Monitoring
2. Initialization (optional)
This step mainly conf ...
Posted on Mon, 20 Jan 2020 11:23:32 -0500 by svan_rv
Original view: https://blog.csdn.net/calvin_zhou/article/details/79253709
After a general App refresh, it will show how much content or update has been added. It is common for news or live broadcast. So, how to achieve this effect?
Pull down refresh to get the latest data of the server. The size of the data collection ...
Posted on Tue, 17 Dec 2019 16:21:35 -0500 by Amman-DJ
For various reasons, Android Gradle needs to be upgraded. When gradle > 3.0, Java 8 is supported by default. Each large version upgrade involves a lot of content, so you should be as careful as possible, but you should simply record the problems encountered in the upgrade process;
Upgrade classpath 'com.android.tools.build:gradle:3.0.1'
Posted on Sun, 15 Dec 2019 06:36:48 -0500 by Kinneh
Android Netease cloud history search and hot Tags
Recently, we have developed a Netease cloud music player. There is a need to display search suggestions and historical search records
Project address: https://github.com/shellhub/NetEaseMusic
As can be seen from the rendering, if the label i ...
Posted on Sat, 30 Nov 2019 11:33:28 -0500 by DickDeeds
This is the second blog in the Custom View series. Let's continue to learn about Custom View.
Today, let's implement the ad banner case.
We want to achieve such an effect.
To achieve this effect, we can use the ViewPager control, and then add some custom controls to complete. So let's start now.
Create a new android project.
Modify the activity ...
Posted on Mon, 26 Aug 2019 01:02:49 -0400 by bigsexychris
One: What is Dagger 2?
Second: Why Dagger 2
Three: How to use Dagger2
How to use Dagger2
(1) When other parameters are needed for the construction method
(2) Dependency between modules
(3) @Named annotation
(4) @Singleton annotation
(5) Custom Scoped
(7) lazy and Provider
Posted on Fri, 09 Aug 2019 04:34:00 -0400 by adam87
In Android version 5.0 and above, google provides us with several kinds of transition animation of activity switching, in order to make the transition of activity switching more beautiful, while the activity switching before Android 5.0 appears stiff. Although you can customize to add animation effect to activity, the eff ...
Posted on Tue, 06 Aug 2019 06:18:24 -0400 by anthonydamasco
It is said that Huawei laid off employees over 34 years old, although it is rumored, but Huawei clearly stipulates that retirement after 45 years old is a real, big to BAT, small to start-up companies. It is also true that enterprises now prefer to recruit young people. People in middle age have less learning ability and physical fi ...
Posted on Sun, 14 Jul 2019 14:07:49 -0400 by php new bie
RxAndroid is a powerful framework, which means the cost of mastering is relatively high. It has been studied intermittently for a long time. Today, when it is written out, the output is the better input.
What is Rx
Rx is not a new language, but a common Java pattern, similar to Observer Pattern, which can be regarded as a common Java class ...
Posted on Wed, 10 Jul 2019 17:02:41 -0400 by MattG