/R-M-compose-challenge

Learning compose challenge

Primary LanguageKotlinMIT LicenseMIT

Logo

Rick And Morty App

Rick and Morty app is a mobile application that is designed to provide fans of the popular adult animated science fiction sitcom with a range of information about the characters. Overall, Rick and Morty app is a fun and engaging way for fans of the show to stay connected with their favorite characters and immerse themselves in the crazy and unpredictable world of Rick and Morty.

Screenshots

Screenshot-20230311-171913-RMcomposechallenge-google-pixel4-justblack-portrait.png

Screenshot-20230311-171920-RMcomposechallenge-google-pixel4-justblack-portrait.png

Screenshot-20230311-171933-RMcomposechallenge-google-pixel4-justblack-portrait.png

Screenshot-20230311-171927-RMcomposechallenge-google-pixel4-justblack-portrait.png

Installation

Prerequisites

  • Android device or emulator
  • Android Studio

Getting started

Install my-project with npm

  1. Clone this project
  git clone https://github.com/Okuro3499/R-M-compose-challenge.git
  1. Import the project into Android Studio
  2. Connect your android device with USB or just start your emulator
  3. After the project has finished setting up, click the run button to view

Libraries Used

  • Retrofit - Android Network Client, Used to consume API from Rick and Morty API
  • Moshi - used to parse JSON Kotlin classes
  • Jetpack Compose - Used to write the declarative UI of the App
  • Hilt - Used for dependency Injection
  • Coil - Image Loading library
  • Kotlin - Kotlin is a programming language that can run on JVM. Google has announced Kotlin as one of its officially supported programming languages in Android Studio; and the Android community is migrating at a pace from Java to Kotlin
  • Android KTX - Provide concise, idiomatic Kotlin to Jetpack and Android platform APIs.
  • AndroidX - Major improvement to the original Android Support Library, which is no longer maintained.
  • Lifecycle - Perform actions in response to a change in the lifecycle status of another component, such as activities and fragments. Viewmodel -The ViewModel class is designed to store and manage UI-related data in a lifecycle conscious way
  • LiveData - A lifecycle-aware data holder with the observer pattern

API Reference

https://rickandmortyapi.com/

Get all characters

  GET api/character

Get single character item

  GET api/character/${id}

Authors

License

MIT