From 4a287ee34cfa648cab36b1f7c5418096eeed50fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Calvo=20Garc=C3=ADa?= Date: Wed, 19 Aug 2020 01:41:40 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }