The ToastCatalog App is a simple Android application I developed in Kotlin. It showcases a variety of functionalities and features, including API connections, data management, UI customization, navigation between activities, and Android tests.
The app demonstrates how to connect to a web API using Retrofit and fetch a list of items. It handles both successful and unsuccessful API responses.
It showcases the ability to save and load data from internal storage. The app saves the fetched items to a JSON file and loads them when there is no internet connection.
The app checks the network connection status and displays a message when offline. It also attempts to refresh the data when an internet connection is available.
Customization features include changing the color of the menu and implementing a splash screen that appears on app launch.
The app allows users to navigate between the main activity, where items are displayed, and the item detail activity, where item-specific details are shown.
The project includes both positive and negative Android tests using Espresso.
Follow these steps to get a copy of the project up and running on your local machine for development and testing purposes:
- Clone the repository to your local machine.
- Open the project in Android Studio or your preferred IDE.
- Build and run the app on an emulator or a physical Android device.
- Kotlin - The primary programming language
- Retrofit - HTTP client for API connections
- Espresso - Framework for UI testing
- Giancarlo Mennillo