/Pokedex

🗡️ Android Pokedex using Dagger Hilt, Motion, Coroutines, Jetpack (Room, ViewModel, LiveData) based on MVVM architecture.

Primary LanguageKotlinApache License 2.0Apache-2.0

Pokedex

License API Build Status Medium Profile

Pokedex is a small demo application based on modern Android application tech-stacks and MVVM architecture.
This project is for focusing especially on the new library Dagger-Hilt of implementing dependency injection.
Also fetching data from the network and integrating persisted data in the database via repository pattern.


Download

Go to the Releases to download the lastest APK.

Tech stack & Open-source libraries

  • Minimum SDK level 21
  • Kotlin based + Coroutines for asynchronous.
  • Dagger-Hilt (alpha) for dependency injection.
  • JetPack
    • LiveData - notify domain layer data to views.
    • Lifecycle - dispose of observing data when lifecycle state changes.
    • ViewModel - UI related data holder, lifecycle aware.
    • Room Persistence - construct a database using the abstract layer.
  • Architecture
    • MVVM Architecture (View - DataBinding - ViewModel - Model)
    • Repository pattern
  • Retrofit2 & OkHttp3 - construct the REST APIs and paging network data.
  • Sandwich - construct lightweight http API response and handling error responses.
  • Moshi - A modern JSON library for Kotlin and Java.
  • Glide, GlidePalette - loading images.
  • TransformationLayout - implementing transformation motion animations.
  • WhatIf - checking nullable object and empty collections more fluently.
  • Timber - logging.
  • Material-Components - Material design components like ripple animation, cardView.
  • Custom Views
    • Rainbow - An easy way to apply gradations and tinting for Android.
    • AndroidRibbon - A simple way to implement a beautiful ribbon with the shimmering on Android.
    • ProgressView - A polished and flexible ProgressView, fully customizable with animations.

Architecture

Pokedex is based on MVVM architecture and a repository pattern.

architecture

Open API

Pokedex using the PokeAPI for constructing RESTful API.
PokeAPI provides a RESTful API interface to highly detailed objects built from thousands of lines of data related to Pokémon.

Find this repository useful? ❤️

Support it by joining stargazers for this repository. ⭐
And follow me for my next creations! 🤩

License

Designed and developed by 2020 skydoves (Jaewoong Eum)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.