/cupcake-app

Simple cupcake ordering app with jetpack navigation, common viewmodel and databinding

Primary LanguageKotlinApache License 2.0Apache-2.0

Cupcake app

This app contains an order flow for cupcakes with options for quantity, flavor, and pickup date. The order details get displayed on an order summary screen and can be shared to another app to send the order.

This app demonstrates multiple fragments in an activity, a shared ViewModel across fragments, data binding, LiveData, and the Jetpack Navigation component.

Pre-requisites

  • Familiar with activities and fragments
  • How to use styles and themes in the UI
  • Basic understanding of Jetpack architecture components including ViewModel and LiveData
  • Data binding and binding expressions
  • Kotlin syntax basics

Getting Started

  1. Install Android Studio, if you don't already have it.
  2. Download the sample.
  3. Import the sample into Android Studio.
  4. Build and run the sample.