• Stars
    star
    341
  • Rank 123,998 (Top 3 %)
  • Language
    Kotlin
  • License
    MIT License
  • Created about 5 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Android Architecture Design Patterns using Kotlin, MVVM, Hilt, LiveData, Room, MediatorLiveData, NetworkBoundResources, Retrofit, AndroidX, ViewModels, Dependency Injection using Dagger2, Repository pattern.

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

If you want to support this repo, you can buy the developer a coffee. More information at: buy-me-a-coffee

Buy Me A Coffee