MVPArt

Project Url: JessYanCoding/MVPArt
Introduction: 使 MVP 瘦身并且更灵活
More: Author   ReportBugs   DemoAPK   
Tags:
mvp-

MVPArt

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

中文说明

A New Android MVP Architecture

This framework is designed to solve the traditional MVP class and interface too much, and Presenter and View communicate too complicated through the interface, reuse Presenter too much cost

Introduction

Master Branch

Master branch is a simple framework without network layer, mainly through the four Demo introduced the framework of the ideas, features and use of methods, compact and flexible has a set of existing framework but need to refactor For MVP structure of the project, but no matter which branch you are using is strongly recommended that you first look at Master branch Demo

Complete Branch

Complete branch is a complete framework with a network layer, Retrofit as a network layer and use Dagger2 to manage all objects, mature and powerful for new projects

Notice

  • Use Template to automatically generate MVP classes

  • This framework is a lightweight framework, more suitable for small and medium-sized projects, large-scale projects please use MVPArms

  • Traditional MVP corresponds to a Presenter, and most Presenter has only one or two methods, which leads to the existence of a large number of very few tags Presenter, this framework is designed to solve the reuse Presenter need to achieve too many redundant interface method, encourage developers to write similar logic in a Presenter, constantly reuse Presenter, reduce a large number of class files

  • Of course, many different logic is written in a Presenter, although you can write a lot of classes, but behind the expansion is certainly not good, so the size of their own control, but for the outsourcing project is very useful

Download

 implementation 'me.jessyan:art:2.5.0'

 ---------------------- 以下是扩展库 ----------------------

 //想使用 Glide 请依赖 art-imageloader-glide 扩展库
 implementation 'me.jessyan:art-imageloader-glide:2.5.0' 

 //想使用 AndroidAutoLayout 请依赖 art-autolayout 扩展库
 implementation 'me.jessyan:art-autolayout:2.5.0'

About Me

License

 Copyright 2017, 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.
Apps
About Me
GitHub: Trinea
Facebook: Dev Tools