Skip to content

Implementation of Android's Jetpack Component Pagination, Coroutine, Pagination Adapter, Recyclerview, MVVM, Retrofit, Hilt, Coil. Consuming open source API from - https://rickandmortyapi.com/

Notifications You must be signed in to change notification settings

divyanshuk10/Pagination-App

Repository files navigation

Rick and Morty Explorer App

Rick and Morty Logo

Welcome to Rick and Morty Explorer, an Android app that showcases the implementation of various Android Jetpack components. This project leverages technologies such as Pagination, Coroutine, Pagination Adapter, RecyclerView, MVVM architecture, Retrofit, Hilt, and Coil. The app consumes data from the open-source API provided by The Rick and Morty API.

Table of Contents

Introduction

Rick and Morty Explorer is a mobile app designed to explore information about the characters, locations, and episodes from the popular animated series "Rick and Morty." This project serves as a practical example of integrating Jetpack components and other modern Android development practices.

Features

  • Pagination: Seamless loading of characters, locations, and episodes, providing a smooth browsing experience.
  • Coroutine: Asynchronous programming using Kotlin Coroutines ensures responsive and performant user interactions.
  • Pagination Adapter: Custom adapters for RecyclerViews efficiently handle paginated data sets.
  • RecyclerView: Displaying information in a scrollable and efficient list.
  • MVVM Architecture: A clean architecture using the Model-View-ViewModel pattern for better separation of concerns.
  • Retrofit: Utilizing Retrofit for type-safe HTTP requests, interacting with the Rick and Morty API.
  • Hilt: Dependency injection library simplifying the setup and management of dependencies.
  • Coil: Image loading library for efficient loading and caching of character avatars.

Tech Stack

  • Kotlin
  • Android Jetpack Components
    • Paging
    • ViewModel
    • LiveData
  • Coroutine
  • Retrofit
  • Hilt (Dagger)
  • Coil
  • RecyclerView

Getting Started

To run the app locally, follow these steps:

  1. Clone this repository: git clone https://github.com/yourusername/your-rick-and-morty-explorer.git
  2. Open the project in Android Studio.
  3. Build and run the app on an emulator or physical device.

Architecture

The app follows the MVVM architecture pattern:

  • Model: Represents the data and business logic, fetching data from the Rick and Morty API.
  • View: Displays the UI and captures user input.
  • ViewModel: Acts as a mediator between the Model and View, handling UI-related logic and data fetching.

API Usage

The app consumes the open-source API provided by The Rick and Morty API. For details on how to use the API, refer to their documentation.

Screenshots

Trulli Trulli

Contributing

If you would like to contribute to this project, please follow the contribution guidelines.

License

This project is licensed under the MIT License. Feel free to use and modify the code as per your requirements.

Enjoy exploring the multiverse with Rick and Morty Explorer! 🚀🌌

About

Implementation of Android's Jetpack Component Pagination, Coroutine, Pagination Adapter, Recyclerview, MVVM, Retrofit, Hilt, Coil. Consuming open source API from - https://rickandmortyapi.com/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages