Skip to content

Commit

Permalink
UPDATED README
Browse files Browse the repository at this point in the history
  • Loading branch information
TutorialsAndroid committed Jul 28, 2022
1 parent 0edba5b commit 683c0fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ To Change the font of only content:

Bind the listener to confirm button:

new KAlertDialog(this, KAlertDialog.WARNING_TYPE)
new KAlertDialog(this, KAlertDialog.WARNING_TYPE, 0)
.setTitleText("Are you sure?")
.setContentText("Won't be able to recover this file!")
.setConfirmText("Yes,delete it!")
Expand All @@ -170,7 +170,7 @@ Bind the listener to confirm button:

Show the cancel button and bind listener to it:

new KAlertDialog(this, KAlertDialog.WARNING_TYPE)
new KAlertDialog(this, KAlertDialog.WARNING_TYPE, 0)
.setTitleText("Are you sure?")
.setContentText("Won't be able to recover this file!")
.setCancelText("No,cancel plx!")
Expand Down Expand Up @@ -237,7 +237,7 @@ And if you want to hide Title Text and Content Text of alert dialog

**Change** the dialog style upon confirming:

new KAlertDialog(this, KAlertDialog.WARNING_TYPE)
new KAlertDialog(this, KAlertDialog.WARNING_TYPE, 0)
.setTitleText("Are you sure?")
.setContentText("Won't be able to recover this file!")
.setConfirmText("Yes,delete it!")
Expand Down

0 comments on commit 683c0fa

Please sign in to comment.