Shake is a sample Android application for discovering and tracking cocktail recipes. Based on thecocktaildb.com, Shake allows to search cocktails by name and filters, bookmark favorite recipes and create custom cocktails via a simple built-in editor.
- Kotlin
as programming language
- kotlinx.DateTime for date & time manipulations
- Coroutines as asynchronous and multithreading operations framework
- Dagger Hilt
for dependency injection
- Hilt Compose for accessing ViewModels from composables
- Jetpack Compose
for building user interface layouts
- Material Design 3 as user interface design toolkit
- Accompanist for accessing additional composables
- Custom Modifier for building complex user interface elements
- Tooling for building previews
- androidx.Lifecycle for implementing Model-View-ViewModel pattern
- Navigation Component Compose for composable navigation
- Coil Compose for loading images inside of composable
- Retrofit 2
for network communication with API
- Moshi for JSON parsing
- Realm for deploying & managing local database
- MediaStore for storing & retrieving images
- Gradle Kotlin DSL for managing build configurations
i.e. what is unique among other samples?
- Jetpack Compose for building user interface
screens
- Custom Modifier for displaying mirroring and shimmer effects
- Custom Composition Locals for accessing custom theming resources
- Moshi for parsing JSON responses into cocktail DTOs
- Realm for deploying & managing cocktail database
- MediaStore for storing and retrieving cocktail images within gallery
MIT License
Copyright (c) 2023 Rostyslav Kopyl
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.