Skip to content

Sample app that implements MVVM architecture using Kotlin, Room, LiveData, Retrofit, DataBinding, ViewModel, Coroutines.

Notifications You must be signed in to change notification settings

HemaSathiz/HiltSample

Repository files navigation

Blogs is a sample blog Android application 📱 built to demonstrate use of Modern Android development tools. Dedicated to all Android Developers with ❤️.

About

It simply loads Posts data from API and stores it in persistence storage (i.e. SQLite Database). Posts will be always loaded from local database. Remote data (from API) and Local data is always synchronized.

  • This makes it offline capable 😃.
  • Clean and Simple Material UI.

Dummy API is used in this app

Built With 🛠

  • Kotlin - First class and official programming language for Android development.
  • Coroutines - For asynchronous and more..
  • Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.
    • LiveData - Data objects that notify views when the underlying database changes.
    • ViewModel - Stores UI-related data that isn't destroyed on UI changes.
    • ViewBinding - Generates a binding class for each XML layout file present in that module and allows you to more easily write code that interacts with views.
    • Room - SQLite object mapping library.
  • Dependency Injection -
    • Hilt-Dagger - Standard library to incorporate Dagger dependency injection into an Android application.
    • Hilt-ViewModel - DI for injecting ViewModel.
  • Retrofit - A type-safe HTTP client for Android and Java.
  • Material Components for Android - Modular and customizable Material Design UI components for Android.

Architecture

This app uses MVVM (Model View View-Model) architecture.

About

Sample app that implements MVVM architecture using Kotlin, Room, LiveData, Retrofit, DataBinding, ViewModel, Coroutines.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages