kotlin-android-mvp-starter Create Your Kotlin MVP Project Easily

Android Kotlin MVP Starter is an introductory project that implements the MVP pattern. This project serves as a starting point and comes with useful libraries, including those for UI testing. You can choose which libraries to include in your project. To set up your project, follow these steps:

  1. Install Python
  2. Install pip
  3. Run pip install cookiecutter

Then, use the following command to generate the project structure:

cookiecutter https://github.com/general-mobile/kotlin-android-mvp-starter.git

After the scaffolding process, the project tree will look like this:

├── app
│   ├── app.i
zip
kotlin-android-mvp-starter-master.zip 预估大小:57个文件
folder
kotlin-android-mvp-starter-master 文件夹
file
cookiecutter.json 535B
file
.gitattributes 11B
folder
art 文件夹
file
example.png 68KB
file
requirements.txt 45B
folder
{{cookiecutter.repo_name}} 文件夹
file
gradlew 5KB
file
settings.gradle 15B
folder
gradle 文件夹
folder
wrapper 文件夹
file
gradle-wrapper.properties 242B
file
gradle-wrapper.jar 52KB
file
gradlew.bat 2KB
file
gradle.properties 730B
folder
app 文件夹
folder
src 文件夹
folder
androidTest 文件夹
folder
java 文件夹
file
ApplicationTest.java 362B
folder
test 文件夹
folder
java 文件夹
file
ExampleUnitTest.java 324B
folder
main 文件夹
file
AndroidManifest.xml 2KB
folder
res 文件夹
folder
mipmap-hdpi 文件夹
file
ic_launcher.png 3KB
file
ic_launcher_round.png 5KB
folder
values-v21 文件夹
file
styles.xml 365B
folder
mipmap-xxxhdpi 文件夹
file
ic_launcher.png 9KB
file
ic_launcher_round.png 16KB
folder
mipmap-xhdpi 文件夹
file
ic_launcher.png 5KB
file
ic_launcher_round.png 7KB
folder
menu 文件夹
file
menu_main.xml 393B
folder
mipmap-mdpi 文件夹
file
ic_launcher.png 2KB
file
ic_launcher_round.png 3KB
folder
drawable 文件夹
file
android_starter.png 25KB
file
splash_logo.xml 329B
folder
layout 文件夹
file
activity_main.xml 1KB
folder
values-w820dp 文件夹
file
dimens.xml 396B
folder
values 文件夹
file
colors.xml 250B
file
strings.xml 424B
file
styles.xml 928B
file
dimens.xml 219B
folder
mipmap-xxhdpi 文件夹
file
ic_launcher.png 7KB
file
ic_launcher_round.png 11KB
folder
kotlin 文件夹
folder
utils 文件夹
folder
timber 文件夹
file
CrashReportTree.kt 882B
file
RxBus.kt 386B
file
Application.kt 1KB
folder
splash 文件夹
file
SplashActivity.kt 508B
folder
base 文件夹
file
IBaseView.kt 69B
file
BaseActivity.kt 325B
folder
di 文件夹
folder
module 文件夹
file
NetModule.kt 2KB
file
ApplicationModule.kt 767B
file
DatabaseModule.kt 365B
folder
component 文件夹
file
ApplicationComponent.kt 1KB
folder
scope 文件夹
file
ActivityScope.kt 191B
folder
main 文件夹
file
MainPresenter.kt 143B
file
MainActivity.kt 637B
file
MainComponent.kt 390B
file
MainModule.kt 315B
file
IMainView.kt 70B
file
.gitignore 7B
file
build.gradle 3KB
file
proguard-rules.pro 926B
file
build.gradle 3KB
file
LICENSE 1KB
file
README.md 7KB
folder
hooks 文件夹
file
post_gen_project.py 2KB
file
.gitignore 471B
...
zip 文件大小:244.33KB