diff --git a/README.md b/README.md index bf6fe5e..f3e1ac5 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ val dialogSheet = DialogSheet(this) // Your action } }) - .setNegativeButton(android.R.string.cancel, object: DialogSheet.OnPositiveClickListener { + .setNegativeButton(android.R.string.cancel, object: DialogSheet.OnNegativeClickListener { override fun onClick(v: View?) { // Your action }