Flyabbit

Directory:

Introduction to the

  • preface
  • Branch instructions
  • Rely on that
  • structure
  • The effect
  • Related articles
  • About personal

preface

  • Technology selection
  • Componentized design
  • Local Maven (Nexus) is simple to use
  • Automatic packaging (Jenkins Continuous Integration)
  • Unit Tests –
  • Quick fixes for online bugs (hot fixes)
  • ReactNative- Simple practice for Android
  • Ali Atlas(plug-in) with simple practice of the project

Android technology in one piece, everything you want is here

Branch instructions

  • Master: The main branch is dominated by MVP and componentized updates
  • Feature-rn: Feature branch of RN: mainly to update RN and practice optimization of Android
  • Feature-atlas: The plug-in combination of Ali Atlas is the main feature

Rely on that

  • Componentized plug-in

Here first thanks to @DDComponentforAndroid open source plugin, I just modified it more suitable for my own project. Usage remains largely unchanged

Step 1. Configure it in the gradle file in the root directory

buildscript { repositories { .... jcenter() .... } dependencies { ...... The classpath 'com.dhc.com ponent: component - the plugin: 1.0.0... }}Copy the code
  • MVP and the data layer

Features: Degger2. rxjava, Room, MVP, Retrofit,util…. One click to inject what you want,MVP is more simple and practical, network, cache, database out of the box

Step 1. Configure it in the gradle file in the root directory

allprojects {
		repositories {
			...
			 jcenter()
		}
	}
Copy the code

Step2 add dependencies (By 3.0):

Dependencies {API 'com.dhc.lib: MVP :1.0.3'}Copy the code
  • Log Management (Timber)

Features: integrated timber and logger log framework, a line of code initialization,debug print log,release asynchronously save error log to the specified location.

Step 1. Configure it in the gradle file in the root directory

allprojects {
		repositories {
			...
			 jcenter()
		}
	}
Copy the code

Step2 add dependencies (By 3.0):

Dependencies {API 'com. DHC. Timberhelper: timberhelper: 1.0.0'}Copy the code
  • Event Bus (RxBus)

Features: Provides normal message notification, as well as sticky message notification, using the Rxjava essential artifact

Step 1. Configure it in the gradle file in the root directory

allprojects {
		repositories {
			...
			 jcenter()
		}
	}
Copy the code

Step2 add dependencies (By 3.0):

Dependencies {API 'com. DHC. Rxbus: rxbus2:1.0.0'}Copy the code

structure

The effect

Related articles

The first – Network:

  • [starting from scratch series]AndroidApp development road (a) network request encapsulation (a)

Retrofit source code analysis

  • [starting from scratch series] the road to AndroidApp development – inside the building – the root of Retrofit

Update in the…

About personal

Github:github.com/chengzichen

CSDN: blog.csdn.net/chengzichen…

Personal blog: chengzichen.github. IO /

Contact me: Q :963565480