/android-viper-templates

Templates for creating VIPER files on Android Studio

Primary LanguageKotlinMIT LicenseMIT

Android VIPER templates

Templates for creating VIPER Kotlin files on Android Studio

What is VIPER and how can I use it on Android?

Here's an Article that I've wrote about this subject, feel free to drop some comments!

Template

To add the template to your Android studio you can clone this repository and run: $ ./moveToAndroidStudio.sh on your terminal.2e


Then you can just create your files using the New menu:
New Files



This will open a configuration screen in which you can choose if you want an Activity, Fragment or Custom View, and if you want to generate the Presenter, Router, Interactor and Contracts file. Configure Module

Base Module

There's also a basic Base VIPER Module that your files can extend. This files add some common functionalities that can be used on your project
This files are on the Base folder.