Skip to content

MVVM, Hilt, Navigation Component, Retrofit, StateFlow, Data binding & View Binding

Notifications You must be signed in to change notification settings

tariqul000/Friends_MVVM_Corouting_StateFlow_Demo

Repository files navigation

Friends_MVVM_Corouting_StateFlow_Demo

A Test App Featuring MVVM, Hilt, Navigation Component, Retrofit, StateFlow, Data binding & View Binding

Tech stack & Open-source libraries

  • 100% Kotlin based, Coroutines + Flow for asynchronous.

  • JetPack🚀

    • ViewBinding - View binding is a feature that allows you to more easily write code that interacts with views.
    • LiveData With Flow - notify domain layer data to views.
    • Lifecycle - dispose of observing data when lifecycle state changes.
    • ViewModel - UI related data holder, lifecycle aware.
    • Hilt - To simplify Dagger-related infrastructure for Android apps.
  • Retrofit2 & OkHttp3 - construct the REST APIs and paging network data.

  • Gson - Gson is a Java library that can be used to convert Java Objects into their JSON representation.

  • okhttp-logging-interceptor - logs HTTP request and response data.

  • kotlinx.coroutines - Library Support for coroutines,provides runBlocking coroutine builder used in tests for Android.

    Core Feature

alt text

Architecture

  • MVVM Architecture (View - ViewBinding - ViewModel - Model)
  • Repository pattern

Releases

No releases published

Packages

No packages published

Languages