Code Monkey home page Code Monkey logo

pokedex's Introduction

Pokedex

This Android app allows users to list Pokémon and view their details. It was built using Kotlin and integrates with the PokeAPI to fetch Pokémon data.

Architecture

The app follows the MVI (Model-View-Intent) architecture for a reactive and maintainable codebase. It uses the following layers:

  • Jetpack Compose: For creating the user interface screens.
  • Jetpack Paging: For listing the Pokémon with support for paging.
  • ViewModel: For managing UI-related data and handling lifecycle events.
  • Kotlin Flow: For handling asynchronous data streams.
  • Use Case: For encapsulating business logic.
  • Repository: For accessing the PokeAPI data.

Dependency Injection

  • Koin: Used for dependency injection to provide instances of repositories, use cases, and other components.

Future Work

  • Write tests for UI and ViewModel to ensure app stability and reliability.
  • Implement a feature to favorite Pokémon. This feature will work offline using Room database, allowing users to save their favorite Pokémon and view them even without an internet connection.
  • Add search functionality to allow users to search for specific Pokémon by name or other attributes.

Getting Started

To run the app, you'll need Android Studio installed on your machine. Clone this repository and open it in Android Studio. Then, build and run the app on an Android emulator or device.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT License.

pokedex's People

Contributors

dnassuncao avatar

Watchers

 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.