Android QR code fast integration

QR code QR code scanning example 1. Rely on zxing 2. QR code generation 3. QR code scanning 4. onActivityResult receives QR code scanning results QR code It can be quickly integrated through the open source framework. zxing is a powerful QR code scanning library launched by Google, which supports multiple platf ...

Posted on Tue, 31 Mar 2020 06:07:39 -0400 by pandaweb

It's time to embrace ViewBinding!!

It's time to embrace ViewBinding!! I. Preface 2, Getting to know ViewBinding 3, Embrace ViewBinding 3.1 environmental requirements 3.2 turn on the ViewBinding function 3.3 use of ViewBinding in Activity 3.3.1. Direct controls in layout 3.3.2 imported controls in layout Thousands of sails pass ...

Posted on Tue, 25 Feb 2020 06:05:59 -0500 by alpha2zee

(Base Series III) basefragment basemvpffragment package

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

Android IOC Annotation Library EasyUI

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 Usage method 1. Reference compile 'cn.cyq.android:easyuilibrary:1.1.0' 2. Initialization (optional) This step mainly conf ...

Posted on Mon, 20 Jan 2020 11:23:32 -0500 by svan_rv

Refresh and display data change animation of Android project

Effect: 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

Android Gradle 2.3.3 upgrade 3.0.1 small record

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' Afte ...

Posted on Sun, 15 Dec 2019 06:36:48 -0500 by Kinneh

Android Netease cloud history search and hot Tags

Android Netease cloud history search and hot Tags Original address 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 search_entry.png As can be seen from the rendering, if the label i ...

Posted on Sat, 30 Nov 2019 11:33:28 -0500 by DickDeeds

Android Advanced Drawing - Custom View Fully Mastered

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

Advanced Architecture, Principle and Use of Dagger 2

Catalog One: What is Dagger 2? Second: Why Dagger 2 Three: How to use Dagger2 Basic concepts How to use Dagger2 Advanced Usage (1) When other parameters are needed for the construction method (2) Dependency between modules (3) @Named annotation (4) @Singleton annotation (5) Custom Scoped (6)Subcomponent (7) lazy and Provider I ...

Posted on Fri, 09 Aug 2019 04:34:00 -0400 by adam87

Activity Transition Animation - Make Switching Cooler

introduce 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