Skip to content

Dagger-Hilt, MVVM, Retrofit, RxJava2, Glide, Navagation

Notifications You must be signed in to change notification settings

mhasancse15/RickAndMortyAPI

Repository files navigation

RickAndMortyAPI - Android Clean Architecture Sample

A Rick And Morty simple app that loads information from The Rick and Morty API to show one approach to using some of the best practices in Android Development.

Built With 🛠

  • Kotlin - First class and official programming language for Android development.
  • RxJava - For asynchronous and more..
  • Hilt - Dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project
  • 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.
    • ViewDataBinding - 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.
  • Retrofit - A type-safe HTTP client for Android and Java.
  • Coil-kt - An image loading library for Android backed by Kotlin Coroutines.
  • Material Components for Android - Modular and customizable Material Design UI components for Android.

🚀 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Android Studio 3.2+
  • Java JDK

Installing

Follow these steps if you want to get a local copy of the project on your machine.

1. Clone or fork the repository by running the command below

git https://github.com/mhasancse15/RickAndMortyAPI.git

2. Import the project in AndroidStudio, and add API Key

  1. In Android Studio, go to File -> New -> Import project.
  2. Follow the dialog wizard to choose the folder where you cloned the project and click on open.
  3. Android Studio imports the projects and builds it for you.

You should also take a look at