I heard you still don't use Dagger 2? Dagger2 For Android Best Practices Tutorial

This article was first published on my personal blog Click on the link to enter the original text Preface Dagger2 is now a very popular dependency injection framework, currently maintained by Google, and has 12K star on Github. The entry threshold of Dagger 2 is relatively high. It is known that many Android engineers do not know Dagger 2 well ...

Posted by HaLo2FrEeEk on Thu, 16 May 2019 12:57:32 +0200

Illumination in [Unity Shaders]Shader

Rendering details of Forward Rendering Path   Before we start the discussion later, we need to understand what Unity can handle in Forward Rendering Path and how much light it can handle. Here only extract Official documents Some of them are explained.   In Forward Rendering, there are three ways to deal with illumination: vertex-by-vertex ...

Posted by freeloader on Wed, 15 May 2019 20:35:40 +0200

Learning Summary of Eventbus Source Code

Reprinted please indicate the source https://blog.csdn.net/dreamsever/article/details/80031988 There are many source code parsing about Eventbus on the internet, but I still have to write it down by myself and see others'source code parsing. Maybe it can make me understand the general idea, but using my own languag ...

Posted by shadow-x on Wed, 15 May 2019 17:15:18 +0200

RxJava (XV) Free switching of RxJava threads

RxJava series article directory guide: I. Usage and Source Code Analysis of RxJava create Operator 2. Detailed usage of RxJava map operators 3. Detailed usage of RxJava flatMap operator 4. Detailed usage of RxJava concatMap operator 5. Implementation of token mechanism between app and server by RxJava onError ResumeNext ope ...

Posted by hyngvesson on Wed, 15 May 2019 04:07:12 +0200

ProGuard Code Confusion

Proguard is a Java class file compressor, optimizer, obfuscator, pre-verifier. Compression links detect and remove unused classes, fields, methods, and attributes. Optimization links analyze and optimize byte codes for methods. Confusion links rename classes, variables, and methods with meaningless short variables. These steps ...

Posted by ditusade on Wed, 15 May 2019 00:39:36 +0200

Exploration of ARouter Source

Exploration of ARouter Source 1. Questions How do I support direct parsing of standard URL s for jumping and automatically injecting parameters into the target page? How do I support Multidex, InstantRun? How can mapping relationships be grouped, multilevel managed, and initialized on demand? How does Dependent Injection w ...

Posted by ultrasound0000 on Sun, 12 May 2019 14:13:49 +0200

FlycoTabLayout effect and its application

From https://blog.csdn.net/analyzesystem/article/details/51426473 Open Source Project Effectiveness Call instance Must Practice Basic Skills Android studio project import depends on compile path dependencies{ compile 'com.android.support:support-v4:23.1.1' compile 'com.flyco.tablayout:FlycoTabLayout_Lib:2.0.2@aar' ...

Posted by Nirvana on Sat, 11 May 2019 16:55:56 +0200

The problem of Alert Dialog's background changing after Android Activity sets the theme background

If you look closely at the flash page of App, you will find that every time you click on the icon on the desktop of your mobile phone to start the application, a white background (that is, what we usually call a white screen) will appear first, and then you will jump to the flash page. Like this: On how to solve the white sc ...

Posted by cosminb on Sat, 11 May 2019 12:29:47 +0200

How to use Online Designer with FastReport.Core Library

Download the latest version of FastReport.Net Many FastReport.Core users are interested in how report generators work in Web applications written using React libraries. In this article, we will introduce how to use an online designer. Although it is displayed in the same Web object as a regular report, it is quite different from what is shown ...

Posted by quetz67 on Thu, 09 May 2019 20:58:02 +0200

Linux Disk and File System Management

fdisk Commonly used disk partitioning tools, limited by the mbr partition table, can only partition disks smaller than 2TB. If you use fdisk to partition disks larger than 2TB, although partitioning is possible, it can only recognize 2T of space. Generally, the parted partitioning tool is used - l # Display all disk partition information [ ...

Posted by deejay on Wed, 08 May 2019 14:39:03 +0200