Skip to content

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

License

Notifications You must be signed in to change notification settings

WaheedNazir/Kotlin-MVVM-Architecture

Repository files navigation

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


About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy