Cocktail App
Sample playground project for learning purpose in modern Android development.
Tech stack & libraries
- Minimum SDK 21
- MVVM architecture
- Kotlin based.
- Coroutines - concurrency & asynchronous.
- Flow - reactive library
- Coil Image loading library.
- KOIN - kotlin dsl service locator.
- Retrofit - construct REST client.
- GSON - serialize-deserialize response.
- Shimmer - shimmer effect for loading placeholder.
- Lottie - animation library
- Material Components - UI design based.
- Room - Persistence library (database)
- Navigation Component - Android navigation library, part of Jetpack.
- SplashScreen API - Splash screen API for android
Architecture
This app is based on MVVM architecture with Single Activity approach and Repository pattern. It also use NetworkBoundResource to cache the network response into database for offline support.
Run the project
To run this project, you might need to create a file named config.properties
in the root project, which contain(s) properties :
* base_url="https://www.thecocktaildb.com/api/json/"