RickAndMortyApp - Rick and morty, app about characters information

Overview

Rick And Morty App

🇧🇷 Aplicativo com tema do Rick and Morty, interatividade com seleção aleatória de personagens e listas, são 826 personagens que podem ser vistos na tela de detalhes e 42 listas com vários personagens da série, veja os detalhes de cada um deles e descubra curiosidades sobre todos eles! Ahhh mas eu não quero sortear uma lista ou um personagem, eu gostaria de passar por todos eles e olhar as curiosidades... Você pode, basta clicar no botão "Just navigate" na tela de menu das listas, ele irá te levar para a primeira página e você poderá paginar entre as 42 páginas, indo e voltando da maneira que quiser!

🇺🇸 Application with the theme of Rick and Morty, interactivity with random selection of characters and lists, are 826 characters that can be seen on the details screen and 42 lists with various characters from the series, see the details of each of them and discover curiosities about them all! Ahhh but I don't want to random a list or a character, I would like to go through them all and look at the curiosities... You can, just click on the "Just navigate" button on the menu screen of the lists, it will take you to the first page and you can scroll between the 42 pages, going back and forth as you like!

Link to the api documentation: https://rickandmortyapi.com/

Technology / Others

  • Couroutines
  • JetPack Navigation Component
  • Koin
  • View Model
  • RecyclerView
  • Retrofit
  • Live Data
  • Core splashscreen
  • MVVM
  • Fragments

About the api / Sobre a api

Link to the api documentation: https://rickandmortyapi.com/

I used the following routes:

To get a single character with id:

I used this method to get a specify character:

@GET("character/{id}")
    suspend fun getSingleCharacter(
        @Path("id") id: String
    ): SingleCharacter

To get a list of characters, you need to specify the page number... Case you don't specify the api will give to you just first page. :

I used this method to get a specify list:

@GET("character/")
    suspend fun getListCharacter(
        @Query("page") page: String
    ): ListCharacterResponse

Curiosities / Curiosidades

I would like to show a very cool curiosity about one of the items returned in the api object

The character's life status can be returned in 3 different strings Alive, Dead, Unknown... To validate this point, I created a class that sends a ready-made object with the colors, texts, and the image that should appear on the screen...

enum class StatusCharacter(
    @StringRes val status: Int,
    @ColorRes val textColor: Int,
    @DrawableRes val iconImg: Int,
) {
    STATUS_ALIVE(
        status = R.string.txt_status_alive,
        textColor = Color.GREEN,
        iconImg = R.drawable.alive_status
    ),

    STATUS_DEAD(
        status = R.string.txt_status_dead,
        textColor = Color.RED,
        iconImg = R.drawable.dead_status
    ),

    STATUS_UNKNOWN(
        status = R.string.txt_status_unknown,
        textColor = Color.GRAY,
        iconImg = R.drawable.unknow_status
    )
}

The Nav Graph

my_nav_graph

The beta version app / A versão beta do app

Success

Splash screen and home

2022_01_20_13_02_36.mp4

Random single character

2022_01_20_13_03_01.mp4

Type number to get a single character

2022_01_20_13_03_31.mp4

Random list of the characters

2022_01_20_13_03_58.mp4

Just navigate between pages

2022_01_20_13_04_33.mp4

Error tratament

The number you entered is incorrect

2022_01_20_13_15_59.mp4

Details Exception

2022_01_20_13_17_17.mp4

List Exception

2022_01_20_13_17_47.mp4
You might also like...
Reapp is everything you need to build amazing apps with React: a collection of packages that work together, our UI kit, and a CLI that scaffolds your app and includes a server and build system.
Reapp is everything you need to build amazing apps with React: a collection of packages that work together, our UI kit, and a CLI that scaffolds your app and includes a server and build system.

What is it? Reapp is everything you need to build amazing apps with React: a collection of packages that work together, our UI kit, and a CLI that sca

Crunch-Mobile - A Food Delivery Mobile App which uses Modern App Architecture Pattern, Firebase And a Simple Restful Api
Crunch-Mobile - A Food Delivery Mobile App which uses Modern App Architecture Pattern, Firebase And a Simple Restful Api

Crunch-Mobile This is a Food Delivery Mobile App which uses Modern App Architect

A beautiful Fashion Store like Android App Mock built on Jetpack Compose with compose navigation, hilt, dark theme support and google's app architecture found on uplabs Here
A beautiful Fashion Store like Android App Mock built on Jetpack Compose with compose navigation, hilt, dark theme support and google's app architecture found on uplabs Here

A beautiful Fashion Store like Android App Mock built on Jetpack Compose with compose navigation, hilt, dark theme support and google's app architecture found on uplabs Here

Delish, a Food Recipes App in Jetpack Compose and Hilt based on modern Android tech-stacks and MVVM clean architecture.
Delish, a Food Recipes App in Jetpack Compose and Hilt based on modern Android tech-stacks and MVVM clean architecture.

Delish Screens Tech stack & Open-source libraries 100% Kotlin based + Coroutines + Flow for asynchronous. Dagger Hilt 2.37 Accompanist JetPack Jetpack

Workout Journal is a mobile app based on Multi-Module and Clean Architecture for those who want to track their progress over a workout and a calendar period.
Workout Journal is a mobile app based on Multi-Module and Clean Architecture for those who want to track their progress over a workout and a calendar period.

Workout-Journal Workout Journal is a mobile app for those who want to track their progress over a workout and a calendar period. The app allows you to

A secure, opensource android app to store your bank accounts, cards, and credentials. Locally and securely.
A secure, opensource android app to store your bank accounts, cards, and credentials. Locally and securely.

Digital Tijori 🔒 Digital Tijori app lets you store your bank accounts, cards and credentials. You can link cards and credentials to a particular bank

A android platform i.e, App that helps marriage/party halls and individuals to connect to the nearest places where this food could feed those in need and food wastage is minimised

(Muskan- The joy of giving by nature) , a android platform i.e, App that helps marriage/party halls and individuals to connect to the nearest places where this food could feed those in need and food wastage is minimised.

Name of your app is an android app that allows building a todo list
Name of your app is an android app that allows building a todo list

Project 1 - SimpleToDo Name of your app is an android app that allows building a todo list and basic todo items management functionality including add

Matches-simulator-app - App Android Nativo de Simulação de Partidas

Matches Simulator App App Android Nativo de Simulação de Partidas. Este repositório foi organizado em algumas branches que representam as implementaçõ

Owner
Alex Gimenes
- Android Developer - 🇧🇷 -
Alex Gimenes
Simple android application that consumes Rick and Morty API to display characters,episodes,Location

Rick and Morty Compose An android app built using Kotlin that consumes Rick and

Michael Ndiritu 68 Nov 23, 2022
Rick-and-morty-app - Android mobile application development with clean architecture

Android - Rick And Morty App MVVM architecture Dependency Injection (Dagger) Ret

Hakan Yılmaz 2 Jan 27, 2022
Rick y Morty API - Flow Challenge

FlowChallenge Rick y Morty API - Flow Challenge La siguiente prueba plantea el desarrollo de una aplicación de la serie Rick and Morty. Se espera visu

Eugenio Griegues 1 Dec 27, 2021
Ricky and Morty episode guide using KMM and Apollo GraphQL Native

Ricky And Morty Episodes - Kmm Ricky and Morty episode guide using KMM and Apollo GraphQL Native This is a simple guide on how to create an KMM projec

Julio Ribeiro 2 Apr 15, 2022
Sync chat messages and various information on Telegram and Minecraft

Sync chat messages and various information on Telegram and Minecraft

雪沢 坊洛 6 Dec 1, 2022
REST countries sample app that loads information from REST countries API V3 to show an approach to using some of the best practices in Android Development.

MAJORITY assignment solution in Kotlin via MVVM Repository Pattern. REST countries sample app that loads information from REST countries API V3 to sho

Rehan Sarwar 1 Nov 8, 2022
With Viola android face detection library, you can detect faces in a bitmap, crop faces using predefined algorithm and get additional information from the detected faces.

Viola Viola android face detection library detects faces automatically from a bitmap, crop faces using the predefined algorithms, and provides supplem

Darwin Francis 58 Nov 1, 2022
A nice weather that helps you get all information including: current weather, hourly weather and also forecasts for 16 days

WeatherForecast This is an ongoing project where I fetch all the weather data using Retrofit and Kotlin Coroutines over two APIs containing both curre

null 2 Jul 26, 2022
[Android Library] Get easy access to device information super fast, real quick

DeviceInfo-Sample Simple, single class wrapper to get device information from an android device. This library provides an easy way to access all the d

Anitaa Murthy 193 Nov 20, 2022
This library is a set of simple wrapper classes that are aimed to help you easily access android device information.

SysInfo Simple, single class wrapper to get device information from an android device. This library provides an easy way to access all the device info

Klejvi Kapaj 7 Dec 27, 2022