Skip to content

kev87ian/cocktails

Repository files navigation

CocktailDB

  • CocktailDB is an application written in Kotlin that allows users to view and search for cocktails from TheCocktailDB API.

Architecture

  • MVVM - Model View View Model.
  • The application has activities and fragments that communicate with their respective viewmodels, which in turn communicate with their respective repositories to fetch data.

Tech Stack

  • Tech-stack
    • Kotlin - a cross-platform, statically typed, general-purpose programming language with type inference.

    • Coroutines - perform background operations.

    • Glide - an image-loading library.

    • Retrofit - to make network calls.

    • Android KTX - Provide concise, idiomatic Kotlin to Jetpack and Android platform APIs.

    • AndroidX - Major improvement to the original Android Support Library, which is no longer maintained.

    • Jetpack🚀

      • Room - a persistence library provides an abstraction layer over SQLite.
      • LiveData - is an observable data holder.
      • Lifecycle - perform action when lifecycle state changes.
      • ViewModel - store and manage UI-related data in a lifecycle conscious way.

Get started

Screenshots

Alcoholic Cocktails Non-Alcoholic Cocktails Cocktail Details Error Handling Menu Favorites Error handling

Upcoming Features

  • Improving the UI
  • Replacing all the activities with a single activity with multiple fragments.

Contacts

Releases

No releases published

Packages

No packages published

Languages