MVPArms README

The project's README from github.com/JessYanCoding/MVPArms. As one markdown file: README.md.

Logo Official

Latest Stable Version Build Status Min Sdk Version License Author QQ Group

中文说明

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

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

Old projects would like to introduce this framework, you can refer to the Wiki documentation, written in great detail

Wiki

Detailed usage reference Wiki (Must see!!!)

Notice

Functionality & Libraries

  1. Mvp Google's official Mvp architecture project, which contains several different schema branches (this is the Dagger branch).
  2. Dagger2
  3. RxJava
  4. RxAndroid
  5. Rxlifecycle
  6. RxCache
  7. RxPermissions
  8. RxErroHandler
  9. Retrofit
  10. Okhttp
  11. AndroidAutoSize
  12. Gson
  13. Butterknife
  14. AndroidEventBus
  15. Timber
  16. Glide
  17. LeakCanary

Who is using MVPArms?

天府通 小顶家装 工长端 小顶家装 工人端 小顶家装 材料端 小顶网
天天视频 天天直播 中斗通航 中斗祥云 麋鹿旅行
汇财富 觅窝 晒墨宝 智播 (Your App ...)

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

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.

MVPArms (JessYanCoding/MVPArms)

Searching Database…

10.2K ·GitHub
What is this?A common architecture framework for Android apps based on the MVP pattern that pre-integrates mainstream open source projects like Dagger2, RxJava and Retrofit to make development quicker and easier.
Is it a library I add to my project, or a whole app skeleton I clone?Both: for a new project you clone the repo and use the demo as your main Module, ideally depending on the framework remotely via Gradle; the Wiki explains how to integrate it into existing projects.
How do I start a new app with it?Clone the project, use the demo Module as your main Module, change the package name to your own, then let the built-in Template generate the MVP and Dagger2 classes following the UserActivity example.
Which libraries does it bundle under the hood?Seventeen: Google's official MVP (Dagger branch), Dagger2, RxJava with the Rxlifecycle, RxCache and RxPermissions extensions, Retrofit, Okhttp, Gson, ButterKnife, Glide, LeakCanary, Timber, AndroidAutoSize and AndroidEventBus.
What's the catch with so much structure for every screen?You write a lot of MVP and Dagger2 classes and interfaces for every page, which the author admits is a headache; Templates auto-generate most of that boilerplate for you.
What does the one-click app Module generation do?For new projects MVPArms can generate an entire app Module with one click, sparing you the cumbersome initial configuration, so a mainstream MVP + Dagger2 + Retrofit + RxJava setup is ready almost immediately.
Does it cover screen adaptation and leak detection?Yes — the framework comes with automatic screen adaptation through AndroidAutoSize, and LeakCanary is part of the integrated stack for catching memory leaks.
Who is using MVPArms in production?Mostly Chinese Android apps — 天府通, the 小顶家装 family of clients, 天天视频, 天天直播, 中斗通航, 汇财富 and more — with an empty slot in the README reserved for your own app.
Why choose this over wiring Dagger2, Retrofit and RxJava yourself?The author's argument: these technologies pay off for later maintenance and iteration, especially on large projects, and MVPArms pre-integrates and pre-configures the whole stack so you skip the repetitive setup work.
Size
5.8 MB
Stars
10.2K
Age
10y
Commits · 90 Days