Â
              Â
- A Pokemon-themed app which displays pokemon in a scrollable list
- It uses PokeApi to fetch data using Retrofit
- Implemented pagination and powerful search functionality.
- Clickable items show pokemon’s stats includes: pokemon’s photo, type and feature
Pokedex demonstrates modern Android development using Jetpack Compose with Hilt, ViewModels based on MVVM architecture.
Pokedex was built with MVVM Architecture. MVVM (Model-View-ViewModel) is an architectural pattern used in Android development to separate the user interface logic from the business logic. The main components of MVVM are:
- Model: Represents the data and business logic of the application.
- View: The user interface that displays the data from the model.
- ViewModel: A bridge between the Model and the View that prepares the data to be displayed in the View. The ViewModel also handles UI-related tasks such as data validation and error handling.
-
Android Studio (installed on a Linux, Mac or Windows machine)
-
Android device in developer mode with USB debugging enabled
-
USB cable (to connect Android device to your computer)
Clone the GitHub repository to your computer to get the application.
https://https://github.com/adiupd123/Pokedex
Open the App's source code in Android Studio. To do this, open Android
Studio and select Open an existing project
, going to the folder containing the Project folder
Select Build -> Make Project
and check that the project builds successfully.
You will need Android SDK configured in the settings. You'll need at least SDK
version 23. The build.gradle
file will prompt you to download any missing
libraries.
Connect the Android device to the computer and be sure to approve any ADB
permission prompts that appear on your phone. Select Run -> Run app.
Select
the deployment target in the connected devices to the device on which the app
will be installed. This will install the app on the device.