/TodoKotlinMVVMHilt

Todo app developed using Kotlin with MVVM Architecture and Hilt as a dependency Injection.

Primary LanguageKotlinMIT LicenseMIT

Kotlin MVVM Architecture using Hilt

A sample app to manage Todo list, Add, Delete, Update Todos. 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) / Hilt
  4. Live Data, MediatorLiveData
  5. Room Database
  6. Retrofit
  7. Repository Pattern
  8. AndroidX
  9. NetworkBoundResource, NetworkAndDBBoundResource
  10. Google News API
  11. 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