Rick and Morty App

This android app lists rick and morty characters, series episodes and planets.

App Gif

rickandmorty

Screens

Implementations

You can find following apis implementation in this project.

  • Paging
  • Hilt
  • Coroutines
  • Retrofit
  • Gson converter
  • Glide
  • View Model
  • Live Data
  • MVVM

Features

  • Pull data from rick and morty api
  • Listing characters, episodes, locations.
  • Uses view model and live data

Libraries Used

  • Architecture - Start with classes for managing your UI component lifecycle and handling data persistence.

    • lifecycle - As a user navigates through, out of, and back to your app, the Activity instances in your app transition through different states in their lifecycle.
    • ViewModel - Easily schedule asynchronous tasks for optimal execution.
    • livedata - is an observable data holder class. Unlike a regular observable, LiveData is lifecycle-aware, meaning it respects the lifecycle of other app components, such as activities, fragments, or services.
    • Coroutines - A coroutine is a concurrency design pattern that you can use on Android to simplify code that executes asynchronously.
  • UI - Details on why and how to use UI Components in your apps - together or separate

    • Layout - Lay out widgets using different algorithms.
  • Third party and miscellaneous libraries

    • Retrofit for turns your HTTP API into a Java interface
    • Glide for image loading framework for Android that wraps media decoding, memory and disk caching, and resource pooling into a simple and easy to use interface.
    • Paging The Paging library helps you load and display pages of data from a larger dataset from local storage or over network.
    • Hilt Hilt is a dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project.