Skip to content

The following is a sample android project on how to use the Model View ViewModel (MVVM) architecture with Retrofit which is a type-safe HTTP client for Android and Java and JSONPlaceholder which is a fake online REST API for testing and prototyping.

License

Notifications You must be signed in to change notification settings

claykabongok/MVVM_App

Repository files navigation

Android MVVM Architecture app

The following is a sample android project on how to use the Model View ViewModel (MVVM) architecture with Retrofit which is a type-safe HTTP client for Android and Java and JSONPlaceholder which is a fake online REST API for testing and prototyping.

The MVVM architecture is the recommended architecture for developing android application. MVVM provides the following benefits:

  1. Separation of concerns which enables developers to write maintainable code.
  2. Survive configuration changes (such as screen rotations) which improves user experience

The network request returns a list of users which is displayed in a RecyclerView as illustrate in the demo bellow.

Concepts used in this Application

Application Demo:

Demo screen

About

The following is a sample android project on how to use the Model View ViewModel (MVVM) architecture with Retrofit which is a type-safe HTTP client for Android and Java and JSONPlaceholder which is a fake online REST API for testing and prototyping.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages