/mvi_best_practice

MVI Best Practice Example

Primary LanguageKotlin

MVI-Clean-Architecture

This is a sample app & basic code that demonstrate how to build an Android application using the Uncle Bob's Clean Architecture approach.

The trick of the project is to demonstrate best practices, provide a set of guidelines, and present modern Android Application Architecture that is modular, scalable, maintainable and testable, suitable for bigger teams and long application lifecycle management.

Flow

This app uses MVI (Model View Intent) architecture.

What this app do ?

  • If first app first launch / refresh clicked: start -> get data from api -> save to local database (room) -> show data from local (end) -> end
  • If app is not first launch: start -> show data from local (room) -> end

API Response