├── .gitignore ├── Data ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── diygreen │ │ └── data │ │ └── ApplicationTest.java │ ├── main │ ├── AndroidManifest.xml │ └── res │ │ └── values │ │ └── strings.xml │ └── test │ └── java │ └── com │ └── diygreen │ └── data │ └── ExampleUnitTest.java ├── Domain ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── diygreen │ │ └── domain │ │ └── ApplicationTest.java │ ├── main │ ├── AndroidManifest.xml │ └── res │ │ └── values │ │ └── strings.xml │ └── test │ └── java │ └── com │ └── diygreen │ └── domain │ └── ExampleUnitTest.java ├── Library ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── diygreen │ │ └── library │ │ └── ApplicationTest.java │ ├── main │ ├── AndroidManifest.xml │ └── res │ │ └── values │ │ └── strings.xml │ └── test │ └── java │ └── com │ └── diygreen │ └── library │ └── ExampleUnitTest.java ├── Presentation ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── diygreen │ │ └── presentation │ │ └── ApplicationTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── diygreen │ │ │ └── presentation │ │ │ └── MainActivity.java │ └── res │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxxhdpi │ │ └── ic_launcher.png │ │ ├── values-w820dp │ │ └── dimens.xml │ │ └── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── diygreen │ └── presentation │ └── ExampleUnitTest.java ├── doc ├── MVPBestPractice.mmap ├── MVP总结.mmap ├── Presenter生命周期.mmap └── 怎么写Presenter.mmap └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/.gitignore -------------------------------------------------------------------------------- /Data/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /Data/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Data/build.gradle -------------------------------------------------------------------------------- /Data/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Data/proguard-rules.pro -------------------------------------------------------------------------------- /Data/src/androidTest/java/com/diygreen/data/ApplicationTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Data/src/androidTest/java/com/diygreen/data/ApplicationTest.java -------------------------------------------------------------------------------- /Data/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Data/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /Data/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Data/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /Data/src/test/java/com/diygreen/data/ExampleUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Data/src/test/java/com/diygreen/data/ExampleUnitTest.java -------------------------------------------------------------------------------- /Domain/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /Domain/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Domain/build.gradle -------------------------------------------------------------------------------- /Domain/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Domain/proguard-rules.pro -------------------------------------------------------------------------------- /Domain/src/androidTest/java/com/diygreen/domain/ApplicationTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Domain/src/androidTest/java/com/diygreen/domain/ApplicationTest.java -------------------------------------------------------------------------------- /Domain/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Domain/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /Domain/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Domain/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /Domain/src/test/java/com/diygreen/domain/ExampleUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Domain/src/test/java/com/diygreen/domain/ExampleUnitTest.java -------------------------------------------------------------------------------- /Library/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /Library/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Library/build.gradle -------------------------------------------------------------------------------- /Library/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Library/proguard-rules.pro -------------------------------------------------------------------------------- /Library/src/androidTest/java/com/diygreen/library/ApplicationTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Library/src/androidTest/java/com/diygreen/library/ApplicationTest.java -------------------------------------------------------------------------------- /Library/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Library/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /Library/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Library/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /Library/src/test/java/com/diygreen/library/ExampleUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Library/src/test/java/com/diygreen/library/ExampleUnitTest.java -------------------------------------------------------------------------------- /Presentation/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /Presentation/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Presentation/build.gradle -------------------------------------------------------------------------------- /Presentation/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Presentation/proguard-rules.pro -------------------------------------------------------------------------------- /Presentation/src/androidTest/java/com/diygreen/presentation/ApplicationTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Presentation/src/androidTest/java/com/diygreen/presentation/ApplicationTest.java -------------------------------------------------------------------------------- /Presentation/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Presentation/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /Presentation/src/main/java/com/diygreen/presentation/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Presentation/src/main/java/com/diygreen/presentation/MainActivity.java -------------------------------------------------------------------------------- /Presentation/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Presentation/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /Presentation/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Presentation/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Presentation/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Presentation/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Presentation/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Presentation/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Presentation/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Presentation/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Presentation/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Presentation/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Presentation/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Presentation/src/main/res/values-w820dp/dimens.xml -------------------------------------------------------------------------------- /Presentation/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Presentation/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /Presentation/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Presentation/src/main/res/values/dimens.xml -------------------------------------------------------------------------------- /Presentation/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Presentation/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /Presentation/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Presentation/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /Presentation/src/test/java/com/diygreen/presentation/ExampleUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/Presentation/src/test/java/com/diygreen/presentation/ExampleUnitTest.java -------------------------------------------------------------------------------- /doc/MVPBestPractice.mmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/doc/MVPBestPractice.mmap -------------------------------------------------------------------------------- /doc/MVP总结.mmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/doc/MVP总结.mmap -------------------------------------------------------------------------------- /doc/Presenter生命周期.mmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/doc/Presenter生命周期.mmap -------------------------------------------------------------------------------- /doc/怎么写Presenter.mmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/doc/怎么写Presenter.mmap -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DIY-green/MVPBestPractice/HEAD/settings.gradle --------------------------------------------------------------------------------