An Android Sample Project use Viper Architecture.
- V -> View
- I -> Interactor
- P -> Presenter
- E -> Entity
- R -> Router
Viper just like MVP or MVVM, just split presenter to presenter, interactor and router, so the code is more modularization. This VIPER are a litter different with normal viper, we use LiveData to contact View & Entity, so you change UI easily after data change.
You can use this plugin ViperCreator to generator a viper-arch like this sample project. Also, you can use it to generator viper code for activity and fragment. Enjoy it.
This demo is just a simple demo, it didn't containe to much code to show how VIPER work, just show a project architecture.