argotri / PokeApi-Pokedex

Consumption of PokeApi using Kotlin flows, Paging 3, Dagger hilt, and other assorted Jetpack libraries. The app uses MVVM architecture.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pokedex

The App uses a set of Android Jetpack libraries plus Retrofit to dispay data from REST API. The App uses Kotlin.

Prerequisites

The project has all required dependencies in the gradle files. Add the Project to Android Studio or Intelij and build.All the required dependencies will be downloaded and installed.

Architecture

The project uses MVVM architecture pattern.

Libraries

  • ViewModel - Manage UI related data in a lifecycle conscious way and act as a channel between use cases and ui
  • ViewBinding - support library that allows binding of UI components in layouts to data sources,binds character details and search results to UI
  • Navigation Component - Android Jetpack's Navigation component helps in implementing navigation between fragments
  • Dagger Hilt - For Dependency Injection.
  • Paging 3 - Allow pagination of the Data.
  • Retrofit - To access the Rest Api
  • Kotlin Flow - To access data sequentially
  • Datastore - To store data in key value pairs, in this case to store boolean if the disclaimer dialog is shown or not

Screenshots

Demo

About

Consumption of PokeApi using Kotlin flows, Paging 3, Dagger hilt, and other assorted Jetpack libraries. The app uses MVVM architecture.


Languages

Language:Kotlin 100.0%