WaheedNazir/Kotlin-MVVM-Architecture
Tentang
Android Architecture Design Patterns using Kotlin, MVVM, Hilt, LiveData, Room, MediatorLiveData, NetworkBoundResources, Retrofit, AndroidX, ViewModels, Dependency Injection using Dagger2, Repository pattern.
Pembelajaran dan pendidikanPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliKotlin 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.
- MVVM Architecture Design Pattern
- Hilt (Dependency Injection)
- Flow, Live Data, MediatorLiveData
- Room Database
- Retrofit
- Repository Pattern
- AndroidX
- Glide
- JetPack Libraries
Note: Update your NEWS_API_KEY in credentials.properties
Demo

Architecture

NetworkBoundResource

Mediator LiveData

Other samples of MVVM using Kotlin
View-ViewModel-Interaction - Sample shows View and ViewModel Interaction/Communication.
Communication-ActivityFragment-ViewModel - Sample shows communication between Activity and Fragment using ViewModel
ViewModel-ViewModel-Communication - Sample shows communication between ViewModels
LocationUpdates-LiveData-ViewModel - Sample shows, to get location updates as LiveData in Kotlin.
Kotlin-MVVM-Architecture - Sample of complete MVVM Architecture using Dagger2, Kotlin, MediatorLiveData, Retrofit etc.
Presentation Slides - Presentation slides on this architecture sample.
Author
Sources
- Google's official doc
- Google's Codelab
- Architecture Components Samples
- 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
Jelajahi proyek terkait
Memuat…