ANIKINKIRILL / MVIPlayground

MVI (Model-View-Intent) architecture is the kind of MVVM (Model-View-ViewModel), but with more features. The most big advantage of this architecture is if your app has many fragments in one activity, your ViewModel is getting massive and uncomprehendable. So MVI is ready to help!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MVIPlayground

MVI (Model-View-Intent) architecture is the kind of MVVM (Model-View-ViewModel), but with more features. The most big advantage of this architecture is if your app has many fragments in one activity, your ViewModel is getting massive and uncomprehendable. So MVI is ready to help!

The app uses the following libraries / topics:

  • Kotlin
  • Coroutines
  • Retrofit2
  • Glide
  • ViewModels
  • Repository pattern
  • NetworkBoundResource (as recommend by architecture guide in google sample. See here).

The app does two things:

  1. Get 'User' data from open-api.xyz/placeholder/user.
  2. Get a list of 'BlogPost' data from open-api.xyz/placeholder/blogs.

Architecture

alt text

About

MVI (Model-View-Intent) architecture is the kind of MVVM (Model-View-ViewModel), but with more features. The most big advantage of this architecture is if your app has many fragments in one activity, your ViewModel is getting massive and uncomprehendable. So MVI is ready to help!


Languages

Language:Kotlin 90.9%Language:Java 9.1%