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
Что это такое?Каркас общей архитектуры для Android-приложений на основе паттерна MVP, в который заранее встроены популярные open source проекты вроде Dagger2, RxJava и Retrofit, чтобы разработка шла быстрее и проще.
Это библиотека, которую я подключаю к своему проекту, или целый скелет приложения, который я клонирую?И то и другое: для нового проекта вы клонируете репозиторий и используете демо как основной Module, в идеале подключая каркас удалённо через Gradle; в Wiki описано, как встроить его в существующие проекты.
Как начать с ним новое приложение?Склонируйте проект, используйте демо-Module как основной Module, поменяйте имя пакета на своё, а затем пусть встроенный Template сгенерирует MVP- и Dagger2-классы по примеру UserActivity.
Какие библиотеки внутри?Семнадцать: официальная MVP от Google (ветка Dagger), Dagger2, RxJava с расширениями Rxlifecycle, RxCache и RxPermissions, Retrofit, Okhttp, Gson, ButterKnife, Glide, LeakCanary, Timber, AndroidAutoSize и AndroidEventBus.
В чём подвох такой кучи структуры для каждого экрана?На каждую страницу приходится писать много MVP- и Dagger2-классов и интерфейсов — сам автор признаёт, что это головная боль; Templates автоматически генерируют большую часть этого шаблонного кода за вас.
Что делает генерация app-Module в один клик?Для новых проектов MVPArms может сгенерировать целый app-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