Skip to content

ashishhgour/custom_alert_sample_app

Repository files navigation

Sample Application (Custom Alert Dialog)

This is a sample application built using Android and Jetpack Compose. It demonstrates a basic implementation of a cart with a remove item feature, and it also integrates a custom alert dialog to confirm actions.

Features

  • Cart View: Displays items in a cart.
  • Remove Item: Allows users to remove an item from the cart with a confirmation dialog.
  • Cart Icon: A cart icon is included for better UI.

Prerequisites

Ensure you have the following tools installed:

  • Android Studio
  • JDK (Java Development Kit)
  • Android SDK

Getting Started

  1. Clone this repository to your local machine.

    git clone https://github.com/ashishhgour/custom_alert_sample_app.git
  2. Open the project in Android Studio.

  3. Build and run the application on an emulator or physical device.

How to Use

  • Remove Item: When you click on the "Remove from Cart" button, a custom confirmation dialog will appear asking if you want to remove the item from the cart.
  • Action Feedback: After clicking "Remove", the action feedback will appear briefly on the screen.

Screenshots

screenshots

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages