This is a lightweight Pokédex Android application . It allows users to search, download, and view detailed information about Pokémon using data fetched from the PokeAPI, with local storage via Firebase Firestore.
- Displays a list of all downloaded Pokémon.
- Includes a search bar that supports lookup by name or ID.
- Pokémon cards show their ID, name, type, and front sprite.
- Cards use a Pokéball XML background (sourced from GitHub).
- Accessed by selecting a Pokémon from the list.
- Displays:
- ID, Name, Type, Weight, Height, Base Experience
- Abilities, Held Items (or a "No held items" message), and Moves
- Includes two tabs to toggle between Normal and Shiny versions using animated
.gifsprites.
- Download Pokémon data from the PokeAPI.
- Choose how many Pokémon to fetch (default is 20 if left blank).
- Option to delete the Pokémon list from Firestore.
- Automatically sorts by ascending Pokémon ID.
- Displays brief info about the app and its purpose.
-
Data is fetched using the endpoint: https://pokeapi.co/api/v2/pokemon?limit={limit}&offset=0
-
For each Pokémon, a second API call retrieves full details.
-
Stored fields:
-
Id,Name,Types,Abilities,Held Items,Moves,Weight,Height,Base Experience -
Animated GIFs:
Front DefaultBack DefaultFront Shiny DefaultBack Shiny Default
-
Pokémon data is stored in Firebase Firestore, using the Pokémon’s name as the document ID.
Pokemon.java— Model class with constructors, getters, and setters.PokemonAdaptor.java— Adapter for rendering the list and passing data from home to details.MainActivity.java,DetailsActivity.java, etc. — Handle UI logic.
- Java (Android)
- Firebase Firestore
- PokeAPI
- XML-based UI components
Sotiris Meletiou