Skip to content

sana-20/android-mvvm-coroutine-hilt-sample

Repository files navigation

android-mvvm-coroutine-hilt-sample

Demo video

Alt Text Alt Text

Prerequiste

  1. Get your own API key here. https://developers.themoviedb.org/3/getting-started/introduction

  2. Add your API key in the Constants.kt file.

Technical Stacks

  • The entire code is based in Kotlin

  • Use Android Jetpack Libraries

    • Lifecycle Create a UI that automatically responds to lifecycle events.
    • LiveData Build data objects that notify views when the underlying database changes.
    • ViewModel Store UI-related data that isn't destroyed on app rotations.
    • Paging Makes it easier for you to load data gradually and gracefully within your app's RecyclerView.
    • Navigation Android Jetpack's Navigation component helps you implement navigation.
  • Follow MVVM Architecture

    • View - DataBinding - ViewModel - Model
    • Hilt for dependency injection
    • Coroutine Asynchronous or non-blocking programming
  • Build a Restful API

    • Retrofit2 A type-safe HTTP client for Android and Java
    • Gson Convert Java Objects into JSON representation
    • OkHttp3 for HTTP requests
  • Use Glide for loading images

License

MIT

About

안드로이드 클린 아키텍처 예제

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages