Git Product home page Git Product logo

waheednazir / kotlin-mvvm-architecture Goto Github PK

View Code? Open in Web Editor NEW
344.0 7.0 51.0 18.14 MB

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

License: MIT License

Kotlin 96.80% Java 3.20%
android kotlin-android dagger2-mvvm retrofit2 livedata-viewmodel mediatorlivedata mutablelivedata mvvm-architecture repository-pattern room

kotlin-mvvm-architecture's Introduction

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


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.