Giter VIP home page Giter VIP logo

pokedex's Introduction

Pokédex using Jetpack Compose

A Pokémon list project that exhibits the next generation way for us to build our multi-module Android Applications using Jetpack Compose, Hilt, Clean Architecture, Kotlin Flow and more...

Overview

This project will be helpful for many things both Pokémon and Tech, building with Jetpack Compose

Pokédex Features

  • List of Pokémon: #1010 as of the moment since the 5 others are newly released no further info is provided
  • Shiny Pokémon Image: Get to see what their shiny form looks like in the details page
  • Search Pokémon: Either search by their name or number
  • Responsive Layout: Supports both portrait and landscape orientation
  • Android OS Support: Supports Android Phones starting Nougat (Android 7.0 API Level 24) onwards

Tech Features

  • Multi-module: App is multi-module ready to better isolate feature and layer modules that can be handled by big teams. Better way to reuse certain feature and spend less on build times as well
  • Clean Architecture: Uses modern android way of building using Clean Architecture

Each feature module is built with a sub-module that follows Domain, Data and UI

  • Navigation Across Multi-module Features: Access different features from different module using composables
  • Navigation Compose Deeplinks: Shows an example on how to achieve deeplinks, parameterized deeplinks in Navigation Compose

Can be tested using Firefox Android App Home or Main page use: pokedex:// or any other such as pokedex://home Details page use: pokedex://pokemon/{id} where id is the pokemon number

  • Coil Image Loading: Attempt to load an image using Coil with or without loading animation
  • CI/CD Using Github: Utilizing Github Actions and Github Releases page for pipelines and deployment (uses debug apk but you can build release or sign as you like)
  • R8: Release and R8 ready, just make sure to generate your own keystore / signing capability
  • Lib Versions Catalog: Uses new lib.versions.toml versions catalog to manage dependencies and their versions

Built With

This project is built using next generation tools supported by the latest Canary version of Android Studio Jellyfish | 2023.3.1 Canary 4:. It is very important that your Kotlin, K2 Compiler, Jetpack Compose Compiler and Hilt versions aligned. In this case I used (Kotlin 1.9.22, Jetpack Compose Compiler 1.5.8, Hilt 2.47+)

  • Android Studio Jellyfish: IDE used
  • Kotlin: Programming Language
  • K2 Compiler: In preparation for Kotlin 2.0
  • KSP: Uses KSP for hilt
  • Jetpack Compose: UI Toolkit
  • Jetpack Libraries: Lifecycle, View Model, Material 3, Navigation Compose etc.
  • Hilt: Dependency Injection
  • Coil: Image Loading
  • Retrofit & OkHttp: Networking and API management
  • Kotlin Coroutines & Kotlin Flow: Asynchrounous tasks and management

Credits

License

Copyright 2023 Mike Lau

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.

pokedex's People

Contributors

mikekpl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.