FlorianTrecul / Pokedex

Android Pokedex with Compose and MVVM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pokedex

License API

Pokedex is a small demo application based on modern Android application tech-stacks with Jetpack Compose and MVVM architecture.
This project focuses in particular on the new quick and easy way to build a screen in Android, Jetpack Compose.
Also fetching data from the network with an API via repository pattern. The application is available in dark and light mode.


Screenshoots


Tech stack & Open-source libraries

  • Minimum SDK level 21
  • Kotlin based, Coroutines + Flow for asynchronous.
  • Hilt - For dependency injection.
  • Jetpack
    • Compose - Building UI simplifie and accelerate.
    • Lifecycle - Dispose of observing data when lifecycle state changes.
    • Navigation Compose - Navigation support for Jetpack Compose.
    • ViewModel - UI related data holder, lifecycle aware.
  • Architecture
    • MVVM Architecture (Model - View - ViewModel)
    • Repository pattern
  • Retrofit2 & OkHttp3 - Construct the REST APIs and paging network data.
  • Moshi - A JSON library for Kotlin.
  • Accompanist Coil - Loading images.

Design

Thanks for the inspiration to :
Pokedex App by Saepul Nahwan
Pokédex by Bruna Campos

MAD Score

Architecture

Pokedex is based on MVVM architecture and a repository pattern.

architecture

PokéAPI

Pokedex using the PokeAPI for constructing RESTful API.
PokeAPI provides a RESTful API with lots of Pokémon related data.

License

MIT License

Copyright (c) 2021 Florian Trecul

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

Android Pokedex with Compose and MVVM

License:MIT License


Languages

Language:Kotlin 100.0%