Skip to content

Commit

Permalink
Fixed Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
TutorialsAndroid committed Oct 14, 2022
1 parent 55b5bf5 commit 1a5cf32
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ To Hide Cancel And Confirm Button:
.setTitleText("Sweet!")
.setContentText("Here's a custom image.")
.setCustomImage(R.drawable.custom_img)
.showConfirmButton(false) //to hide the confirm button set it to true
.showConfirmButton(false) //to hide the confirm button set it to false
.showCancelButton(false) //to hide the cancel button set it to false
.show();

Expand Down Expand Up @@ -349,8 +349,7 @@ And if you want to hide Title Text and Content Text of alert dialog
sDialog
.setTitleText("Deleted!")
.setContentText("Your imaginary file has been deleted!")
.setConfirmText("OK")
.setConfirmClickListener(null)
.setConfirmClickListener("OK", null)
.changeAlertType(KAlertDialog.SUCCESS_TYPE);
}
})
Expand Down

0 comments on commit 1a5cf32

Please # to comment.