Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.83 KB

README.md

File metadata and controls

30 lines (25 loc) · 1.83 KB

User Detail Sample

User Detail is a sample app demostrating the use of Hilt, Coroutines, Flow, Jetpack (ViewModel), Material design and MVVM architecture with a very easy to use API and an easy to understand code

Build tools & versions used

  • Minimum SDK level 24
  • Jetpack
    • Lifecycle - Observe Android lifecycles and handle UI states upon the lifecycle changes.
    • ViewModel - Manages UI-related data holder and lifecycle aware. Allows data to survive configuration changes such as screen rotations.
  • Architecture
    • MVVM Architecture (Model- View - ViewModel)
    • Repository Pattern
  • Kotlin 1.4 based, Coroutines + Flow for asynchronous.
  • Hilt 2.42 for dependency injection.
  • Retrofit2 & OkHttp3 - Construct the REST APIs.
  • Sandwich 1.2.6 - Construct a lightweight and modern response interface to handle network payload for Android.
  • Moshi 1.13.0 - A modern JSON library for Kotlin and Java.
  • Picasso 2.71828 - Loading images from network.
  • Material-Components 1.6.1 - Material design components.
  • Turbine 0.8.0 - A small testing library for kotlinx.coroutines Flow.

Steps to run the app

  1. Clone the repository in your computer.
  2. Run the app as usual.