Skip to content

chengzhicao/SimpleMvp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

09599e8 · Oct 20, 2018

History

4 Commits
Oct 20, 2018
Oct 20, 2018
Jun 29, 2018
Oct 20, 2018
Jun 29, 2018
Oct 20, 2018
Jun 29, 2018
Jun 29, 2018
Jun 29, 2018
Jun 29, 2018
Jun 29, 2018

Repository files navigation

SimpleMvp

一个精简的Android MVP框架,网络请求使用RxJava+Retrofit将更为方便

Model:框架中的模型超类,负责提供数据;

View:框架中的视图超类,负责UI展示;

Presenter:程序中的逻辑超类,负责处理具体事务;

BaseMvp:用于创建Model、View和Presenter;

BasePresenter:所有Presenter层的抽象类,负责Model、View层的引用和销毁;

BaseMvpActivity:Activity基类,具体的实现Model、View的绑定,我们自己的Activity可直接继承于此类或者自行实现BaseActivity继承于此类;

BaseMvpFragment:Fragment基类,具体作用和BaseMvpActivity相同。

代码详情可点击以下链接

https://www.jianshu.com/p/51c4681f7f94

About

一个精简的Android MVP框架

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages