FYMVP - 高度可配置化的 Android MVP 快速集成框架
FYMVP - 高度可配置化的 Android MVP 快速集成框架
Android MVVM/MVP
共15Star
详细介绍
FYMVP
一个只管自己用,整合了一丢丢主流开源项目,暂时定义是高度可配置化的 Android MVP 快速集成框架
Dependencies
- repositories
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
- Gradle
compile 'com.github.edifangyi:FYMVP:-SNAPSHOT'
Config
- 因为框架内依赖了 ButterKnife ,故你的项目在依赖框架后,需要在你的 主Module 的 build.gradle 中添加
android {
...
defaultConfig {
...
javaCompileOptions {
annotationProcessorOptions {
includeCompileClasspath true
}
}
}
}
- 因为框架内已经提供了解决超过 65k 方法数 ,故你的项目在依赖框架后,需要你的 Application 继承 BaseApplication 或 已经继承其他 Application类 而不愿继承的可以重写方法
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
MultiDex.install(this);
}
可以解决4.4系统上Caused by: java.lang.ClassNotFoundException: Didn't find class"XXX" on path: DexPathList[[zip fill 问题
Usage
没想好怎么写,自己先看Demo吧
Functionality & Libraries
-
0 Star
-
1392 Star
-
108 Star
-
136 Star
-
5 Star
-
125 Star
-
6 Star
-
0 Star