Skip to content

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!

Notifications You must be signed in to change notification settings

ANIKINKIRILL/MVIPlayground

Repository files navigation

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!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published