GithubHelp home page GithubHelp logo

imadulhassan / hilt-mvvm-retrofit Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.74 MB

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

Kotlin 100.00%
databinding databinding-android drag hilt hilt-android java kotlin kotlin-coroutines livedata mvvm

hilt-mvvm-retrofit's Introduction

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

hilt-mvvm-retrofit's People

Contributors

imadulhassan avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.