MoxyTemplate

Android Studio template for creating Fragment, View interface and Presenter . Files created in Kotlin lang.

Installation

  1. Move to $ANDROID_STUDIO_FOLDER$\plugins\android\lib\templates\other\
  2. Create directory and name it for example MvpFragmentMoxy
  3. Copy all files in this directory
  4. Restart Android Studio

Usage

  1. Right click on package New -> Other -> MvpFragmentMoxy
  2. In FunctionalityName field type prefix name of the group you create. For example Library generate LibraryFragment, LibraryView and LibraryPresenter
  3. Done!