Explain - An application does not have a dialog box to confirm an event

Overview

Explain

An application does not have a dialog box to confirm an event. This library is designed in a way that makes it easy for the developer to use a dialog box to confirm a specific event with a good and comfortable design, where you can modify what you want on the design to suit the shape of your application design.

Screenshots

Alt text

Alt text

Dependencies

Add it in your root build.gradle at the end of repositories:

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Add the dependency :

implementation 'com.github.abuanzeh:CustomConfirmDialog:1.0.2'


Example

 CustomConfirmDialog
            .Builder()
            .setContext(this)
	    //set Title
            .setTitle("Delete Item")
	    //setSubTitle
            .setSubTitle("Are Your sure you want\ndelete this item?")
	    //set Cancel Button Title
            .setButtonCancelText("CANCEL")
	    //set Confirm Button Title
            .setButtonConfirmText("CONFIRM")
	    //set if user can dismiss dilog true or false 
            .setEnableToDismiss(true)
	     //handle Clickes Buttons
            .setDialogButtonsCallBack(object : ConfirmDialogCallBack {
                override fun handleClickConfirmButton() {}

                override fun handleClickCancelButton() {}

                override fun handleWhenDialogDismiss() {}

            })
	    //set Main Color 
            .setMainColor(R.color.delete_color)
	    //set Custom Color
            .setIcon(R.drawable.ic_delete)
	    //set Corner Buttons Radius 
            .setCornerButtonsRadius(40)
	    //set Corner background Dialog 
            .setCornerRadius(20)
	    //setDialog Background
	    .setDialogColorBackground(R.color.your_color)
            .build()
            .showConfirmDialog()   
	    
You might also like...
A login page where we have a designied login button
A login page where we have a designied login button

Googlesignin This is a login page where we have a designied login button ,when we click the button then it move to further process There will be autom

Checks for app updates and automatically updates the current app if the new one in local storage have a different version

Silent Android App Update Sample This sample shows how to update Android app silently without user confirmation with a device owner app. It works on A

External plugins for use with OpenOSRS, this is a seperate entity, not OpenOSRS
External plugins for use with OpenOSRS, this is a seperate entity, not OpenOSRS

ExternalPlugins External plugins for use with OpenOSRS, this is a seperate entity, not OpenOSRS. Add this repo to your external plugins manager by cli

Gradle plugin to manage tests which should only run nightly and not every time a CI/CD pipeline builds.

NightlyTestsPlugin Gradle Plugin to configure which (j)Unit tests should only be run nightly and not everytime a CI/CD pipeline is triggered. Usage To

A simple tool used to check the users you follow that do not follow you back.

instafbchecker - Instagram no life guide Current Release: v1.0.1 (30/08/2022) A command line tool used to check which users dont follow you back on In

An Android app that scans images or human faces in real time and detects whether the mask is worn or not, with the ability to set an audible alert
An Android app that scans images or human faces in real time and detects whether the mask is worn or not, with the ability to set an audible alert

Swift Mask Real time face mask detection Brief overview Swift Mask scans images or human faces in real time and detects whether the mask is worn or no

Java ecosystem? Not me

Kotlin Rust Interop An attempt to implement methods in Kotlin via rust. RSA algorithm Learning kotlin && Interop through implementing on how to calcul

Candroid Browser is a replacement web browser for Candroid. It is designed to replace the AOSP browser, but not Google Chrome. It will be based on a privacy friendly WebKit engine fork.
Candroid Browser is a replacement web browser for Candroid. It is designed to replace the AOSP browser, but not Google Chrome. It will be based on a privacy friendly WebKit engine fork.

Candroid Browser Candroid Browser is a replacement web browser for Candroid. It is designed to replace the AOSP browser, but not Google Chrome. It wil

Android application compatible with ZX2C4's Pass command line application
Android application compatible with ZX2C4's Pass command line application

Password Store Download Documentation We're in the process of rewriting our documentation from scratch, and the work-in-progress state can be seen her

Releases(1.0.2)
Owner
Mohammed AbuAnzeh
Hi , I am Mohammed Android Developer with 2 years Experience
Mohammed AbuAnzeh
Candroid does things different. The Candroid app store is a library of APK client wrappers (F-Droid, APKPure, etc.) For the main Candroid app store, try visiting the Candroid Market.

Candroid App Store Candroid does things different. The Candroid app store is a library of APK client wrappers (F-Droid, APKPure, etc.) For the main Ca

Sean P. Myrick V19.1.7.2 4 Dec 22, 2022
Event-driven application uses React, reactive Spring Boot WebFlux, R2DBC, MySQL and Liquibase

Product delivery Event-driven application uses React, reactive Spring Boot WebFlux, R2DBC, MySQL and Liquibase Status: IN PROGRESS if [[ "" != `docker

Maksim Kostromin 2 Aug 17, 2022
Simple event library to communicate between Activity/Fragment and ViewModel

Setup dependencies { implementation "com.github.skgmn:viewmodelevent:1.1.0" } If you don't know how to access to GitHub Packges, please refer to

null 4 Apr 6, 2022
This repository contains event driven redis app uses redis streams

Spring Boot Redis Streams This repository contains event driven redis app uses redis streams Run redis in docker docker run --rm --name redis -itp6379

Maksim Kostromin 1 Dec 1, 2021
Event State Processor Generator plugin is compatible with IntelliJ and Android Studio.

Event State Processor Generator plugin is compatible with IntelliJ and Android Studio. It provides source code generation for the EventStateProcessor Library to increase code productivity in Flutter apps development.

Extreme Vietnam Public 2 Dec 7, 2021
Micorservice with event sourcing sample kotlin

micorservice-with-event-sourcing-sample-kotlin Event Sourcing Exercises. Maybe it should work. Project eventsourcing Event Sourcing by Jpa or Cosmos D

nrs 20 Nov 11, 2022
Clean MVVM with eliminating the usage of context from view models by introducing hilt for DI and sealed classes for displaying Errors in views using shared flows (one time event), and Stateflow for data

Clean ViewModel with Sealed Classes Following are the purposes of this repo Showing how you can remove the need of context in ViewModels. I. By using

Kashif Mehmood 22 Oct 26, 2022
Event Sourcing with Kotlin

This is a sample app to demonstrate the power of using EventSourced models and the ease with which these can be modelled using Kotlin.

Nico Krijnen 4 Sep 16, 2022
A "must-have a look" project for newcomers in android.

PracticeApp Helping the Newbies This app is made with a purpose to help newbies understand core concepts of Android Development. There are very limite

Siddharth sharma 43 Nov 14, 2022
For Kotlin with SpringBoot project that have multi-module-structure template

Goals kotlin + spring-boot + gradle + multi-module building Module-Structure ---root |--- src.main.kotlin.KotlinSpringbootMultiModuleTemplateAppl

pguma 1 Jul 24, 2022