Skip to content
Ade Fruandta edited this page Nov 29, 2017 · 4 revisions

ViperAndroid

Viper framework for android

This library help android developer for do the clean code. Like in iOS, in ViperAndroid we separate module for each functionality.

  1. Activity or Fragment or View We treat this as view behavior. In view behavior we expect just do the view things, like show view, hide view, etc

  2. Presenter We treat this as ui logic. In presenter we expect how we handle the ui, how we move to another screen, and how we call the business logic.

  3. Interactor We treat this as business logic. In interactor we expect how we call the api, how we process the business.

  4. Router We treat this as bridge between screen. In router we expect how we open the another screen.

Clone this wiki locally