Giter VIP home page Giter VIP logo

cartoon-app's Introduction

Cartoon App is 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

Cartoon App 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 [email protected]:divyanshuk10/Cartoon-App.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 + Module based clean 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.
  • model: Acts as a mediator between the Model and View, handling UI-related logic and data fetching.
  • data: Consumes network and model module and Contains logic related to data fetching via network source.
  • network: Consumes model and common module. This module contains code related to API services like retrofit, okhttp and network calls for fetching data from the network service.
  • common: This module contains code related to common and utils

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 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! ๐Ÿš€๐ŸŒŒ

cartoon-app's People

Contributors

divyanshuk10 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.