Skip to content
Projects

WaheedNazir/Kotlin-MVVM-Architecture

View on GitHub

About

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

Learning & Education

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

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. MVVM Architecture Design Pattern
  2. Hilt (Dependency Injection)
  3. Flow, Live Data, MediatorLiveData
  4. Room Database
  5. Retrofit
  6. Repository Pattern
  7. AndroidX
  8. Glide
  9. JetPack Libraries

Note: Update your NEWS_API_KEY in credentials.properties

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


Explore related projects

Loading…