Awesome Open Source
Awesome Open Source

Kotlin MVVM Architecture

A sample app that display list of Google news. The purpose of this project to illustrate the usage of MVVM architecture design pattern that follow the best practices of Object Oriented Design Patterns using the following technology stack.

  1. Architecture Design Pattern
  2. MVVM
  3. Dagger2 (Dependency Injection)
  4. Live Data, MediatorLiveData
  5. Room Database
  6. Retrofit
  7. Unit Testing (Espresso), Mockito (Coming soon)
  8. Repository Pattern
  9. AndroidX
  10. Glide
  11. NetworkBoundResource, NetworkAndDBBoundResource
  12. Google News API
  13. JetPack Libraries

Demo

Architecture

MVVM Architecture

NetworkBoundResource

MVVM Architecture

Mediator LiveData

MVVM Architecture

Other samples of MVVM using Kotlin

Author

Waheed Nazir

Sources

  1. Google's official doc
  2. Google's Codelab
  3. Architecture Components Samples
  4. Jose Alcérreca's post at Medium

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
android (6,477
kotlin (3,777
architecture (358
kotlin-android (345
dependency-injection (226
retrofit2 (194
mvvm-architecture (113
room (94
repository-pattern (41
dependency-graph (31
hilt (20
hilt-android (17