Skip to content

🍹 Android App using Kotlin. This app displays a list of drinks retrieved from this API - https://www.thecocktaildb.com/api.php, as well as detailed information about each drink. There is also searching for drinks, finding a drink of some category, getting a random drink, and searching for an ingredient.

Notifications You must be signed in to change notification settings

veselovvv/Drinks

Repository files navigation

Drinks

🍹 Android App using Kotlin, Clean Architecture, MVVM, ViewModel, LiveData, Coroutines, Hilt, Navigation Component, View Binding, Retrofit, Gson, Room, Glide, CircleImageView, Material Design, and Bottom Navigation.

This app displays a list of drinks retrieved from this API - https://www.thecocktaildb.com/api.php, as well as detailed information about each drink. There is also searching for drinks, finding a drink of some category, getting a random drink, and searching for an ingredient.

The app uses bottom navigation. There are tabs: cocktails, categories, random cocktail, and ingredients.

The first tab contains the list of cocktails. You can also search for cocktails, and by clicking on a cocktail, a screen with detailed info about the cocktail is shown.

The second tab contains categories. By clicking on a category, a screen with subcategories is opened, and by clicking on a subcategory, the list of cocktails of the chosen subcategory is shown. By clicking on a cocktail, a screen with detailed info about the cocktail is displayed.

The third tab displays a random cocktail. By swiping down, a new random cocktail will be shown.

The last tab allows you to search for an ingredient. You can click on the search button and enter the name of an ingredient. If the ingredient is found, detailed info about this ingredient will be displayed, otherwise you will see no results screen.

In the whole app, when the data is loading, a progress indicator is displayed. In addition, there is a fail screen. It will be displayed if there is no connection, the service is not available, or another error has occurred.

There is also automatic saving of some data to the local database, for example, saving the list of cocktails. That allows to not load the whole list from the API every time a user opens the tab with cocktails, and the user can see the data if there is no internet connection.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

About

🍹 Android App using Kotlin. This app displays a list of drinks retrieved from this API - https://www.thecocktaildb.com/api.php, as well as detailed information about each drink. There is also searching for drinks, finding a drink of some category, getting a random drink, and searching for an ingredient.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages