Awesome
<p align="center"> <a href="https://bintray.com/jessyancoding/maven/MVPArms/_latestVersion"> <img src="https://img.shields.io/badge/Jcenter-v2.5.2-brightgreen.svg?style=flat-square" alt="Latest Stable Version" /> </a> <a href="https://travis-ci.org/JessYanCoding/MVPArms"> <img src="https://travis-ci.org/JessYanCoding/MVPArms.svg?branch=master" alt="Build Status" /> </a> <a href="https://developer.android.com/about/versions/android-4.0.html"> <img src="https://img.shields.io/badge/API-14%2B-blue.svg?style=flat-square" alt="Min Sdk Version" /> </a> <a href="http://www.apache.org/licenses/LICENSE-2.0"> <img src="http://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat-square" alt="License" /> </a> <a href="https://www.jianshu.com/u/1d0c0bc634db"> <img src="https://img.shields.io/badge/Author-JessYan-orange.svg?style=flat-square" alt="Author" /> </a> <a href="https://shang.qq.com/wpa/qunwpa?idkey=7e59e59145e6c7c68932ace10f52790636451f01d1ecadb6a652b1df234df753"> <img src="https://img.shields.io/badge/QQ%E7%BE%A4-455850365%20%7C%20301733278-orange.svg?style=flat-square" alt="QQ Group" /> </a> </p> <p align="center"> <a href="MVPArms.md"> <b>中文说明</b> </a> </p>
A common Architecture for Android Applications developing based on MVP, integrates many Open Source Projects (like Dagger2、RxJava、Retrofit ...), to make your developing quicker and easier.
Architectural
<img src="https://github.com/JessYanCoding/MVPArms/raw/master/image/Architecture.png" width="80%" height="80%">Usage
New Project (The following steps are too cumbersome? Now you can use the new feature (generate an app Module with one click) in new projects, to avoid the cumbersome configuration of the project, to quickly open the world of MVPArms)
If you are building a new project, directly to the entire project clone (or download), as demo as the main Module (It is recommended to remove the arms Module and use Gradle to depend on this framework remotely for easy updates), then the package name into their own package name, demo Module contains the package structure can be used directly, a mainstream
MVP
+Dagger2
+Retrofit
+RxJava
framework so easy to build successful, and now you refer Mvp Package under the UserActivity format, Use Template to automatically generate MVP, Dagger2 related classes, With access to Wiki documents slowly grasp the framework to see more articles as soon as possible in the project to use it, in practice, learning is the fastest
Old Project
Wiki
Detailed usage reference Wiki (Must see!!!)
Notice
-
The use of these technologies for the latter part of the project maintenance and iterative, especially large projects is very helpful, but is to develop a pre-write a page to write a lot of
MVP
,Dagger2
class and interface, which is indeed a headache for the development of pre- Now the framework has been able to Template automatically generate someMVP
,Dagger2
template code, and now we can very easily use the framework. -
Use this frame comes with automatic screen adaptation function, please refer to AndroidAutoSize.
-
This framework does not provide any third-party libraries associated with the UI.
Functionality & Libraries
Mvp
Google's officialMvp
architecture project, which contains several different schema branches (this is the Dagger branch).Dagger2
RxJava
RxAndroid
Rxlifecycle
RxCache
RxPermissions
RxErroHandler
Retrofit
Okhttp
AndroidAutoSize
Gson
Butterknife
AndroidEventBus
Timber
Glide
LeakCanary
Who is using MVPArms?
Acknowledgements
Thanks to all the three libraries used in this framework Author, and all for the Open Source selfless contributions Developer and Organizations, so that we can better work and study, I will also spare time return to the open source community
About Me
- Email: jess.yan.effort@gmail.com
- Home: http://jessyan.me
- 掘金: https://juejin.im/user/57a9dbd9165abd0061714613
- 简书: https://www.jianshu.com/u/1d0c0bc634db
License
Copyright 2016, jessyan
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.