Skip to content

imadulhassan/Hilt-MVVM-Retrofit

Repository files navigation

Hilt MVVM with Data Binding

This is an Android app written in Kotlin that demonstrates how to use Hilt and MVVM architecture principles with two-way data binding. The app allows users to fetch a list of characters and details of episodes using the Rick and Morty API, and also add their favorite characters to a favorites list.

Features

  • Hilt for dependency injection
  • MVVM architecture principles
  • Two-way data binding
  • Retrofit for API calls
  • RecyclerView for displaying character list
  • SharedPreferences for saving favorite characters
  • LiveData for observing data changes

Installation

Clone the project repository to your local machine. Open the project in Android Studio. Build the project and run the app on an emulator or physical device.

Usage

The app will display a list of characters from the Rick and Morty API. Users can click on a character to view their details and add them to their favorites list. To view the favorites list, click on the Favorites tab in the bottom navigation bar.

Contributing

If you would like to contribute to this project, please submit a pull request with your changes. We ask that you follow the Contributing Guidelines and that all changes are thoroughly tested.

Concepts

This app uses the following libraries and frameworks:

  1. Hilt
  2. MVVM architecture principles
  3. Two-way data binding
  4. Retrofit
  5. RecyclerView
  6. SharedPreferences
  7. LiveData

About

This is an Android app written in Kotlin that demonstrates how to use Hilt and MVVM architecture principles with two-way data binding.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages