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
这是什么?一个基于 MVP 模式的 Android 应用通用架构框架,预先集成了 Dagger2、RxJava、Retrofit 等主流开源项目,让开发更快更省事。
它是我添加到项目里的一个库,还是需要克隆的整套应用骨架?两者都是:新项目可以克隆仓库,把 demo 作为主 Module,最好通过 Gradle 远程依赖这个框架;Wiki 里讲解了如何集成到已有项目中。
我用它怎么开始一个新的应用?克隆项目,把 demo Module 作为主 Module,把包名改成你自己的,然后参照 UserActivity 的例子,用内置的 Template 自动生成 MVP 和 Dagger2 相关的类。
它底层集成了哪些库?共十七个:Google 官方的 MVP(Dagger 分支)、Dagger2、RxJava 及其 Rxlifecycle、RxCache、RxPermissions 扩展,还有 Retrofit、Okhttp、Gson、ButterKnife、Glide、LeakCanary、Timber、AndroidAutoSize 和 AndroidEventBus。
每个页面都要这么多结构,有什么麻烦的地方?每个页面都要写大量 MVP 和 Dagger2 的类和接口,作者也承认这很头疼;好在大部分样板代码都可以由 Template 自动生成。
一键生成应用 Module 是做什么的?对于新项目,MVPArms 可以一键生成整个应用 Module,省去繁琐的初始配置,让你几乎立刻就能拥有一套主流的 MVP + Dagger2 + Retrofit + RxJava 环境。
它包含屏幕适配和内存泄漏检测吗?有——框架自带基于 AndroidAutoSize 的自动屏幕适配,集成的技术栈里也包含 LeakCanary,可以用来发现内存泄漏。
有哪些应用在生产环境使用 MVPArms?主要是国内的 Android 应用——天府通、小顶家装系列客户端、天天视频、天天直播、中斗通航、汇财富等等——README 里还留了一个空位,专门等着放你自己的应用。
相比自己动手配置 Dagger2、Retrofit 和 RxJava,为什么选这个?作者的理由是:这些技术对后期的维护和迭代很有价值,尤其是在大型项目上;MVPArms 把整套技术栈预先集成、预先配置好,让你省去重复的搭建工作。
Size
5.8 MB
Stars
10.2K
Age
10y
Commits · 90 Days