Skip to content

slobodyanuk/android-studio-mvvm-template

Repository files navigation

Android Studio MVVM Template

This is an Android Studio MVVM template. Template contains folows components architectures: Project, Activity, Fragment, List implementation. Also used folows libraries and plugins: RxJava2, Dagger, Calligraphy, FastAndroidNetworking, Glide, EventBus, EasyPrefs, Gson, Realm and plugin Lombok.

Installation

Linux:

Manual installation:

  • Copy MvvmProject directory to $ANDROID_STUDIO_DIR/plugins/android/lib/templates/activities/;
  • Copy MvvmActivity, MvvmFragment and MvvmListAdapter directories to $ANDROID_STUDIO_DIR/plugins/android/lib/templates/other/;
  • Overwrite the original file$ANDROID_STUDIO_DIR/plugins/android/lib/templates/gradle-projects/NewAndroidModule/root/shared_macros.ftl with a new file shared_macros.ftl;
  • Overwrite the original file$ANDROID_STUDIO_DIR/plugins/android/lib/templates/gradle-projects/NewAndroidModule/root/build.gradle.ftl with a new file build.gradle.ftl.