MVPArt

Additional

Language
Java
Version
v2.4.1 (Apr 11, 2018)
Created
Feb 25, 2017
Updated
Aug 7, 2018
Owner
JessYan (JessYanCoding)
Contributor
JessYan (JessYanCoding)
1
Activity
Badge
Generate
Download
Source code
APK file

Announcement

MVPArt

中文说明

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

Architectural

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.4.1'  //rxjava2

 implementation 'me.jessyan:art:1.4.3' //rxjava1(Not maintained)

Donate

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.