Templates for creating VIPER Kotlin files on Android Studio
Here's an Article that I've wrote about this subject, feel free to drop some comments!
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:
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.
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.