From 2695c3c3bfd68d127366aef7a084187dd4341d43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Calvo=20Garc=C3=ADa?= Date: Sat, 2 Dec 2017 17:33:05 +0100 Subject: [PATCH] Initial release --- .../java/com/marcoscg/dialogsheetsample/MainActivity.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/src/main/java/com/marcoscg/dialogsheetsample/MainActivity.java b/app/src/main/java/com/marcoscg/dialogsheetsample/MainActivity.java index bf90439..f46dc33 100644 --- a/app/src/main/java/com/marcoscg/dialogsheetsample/MainActivity.java +++ b/app/src/main/java/com/marcoscg/dialogsheetsample/MainActivity.java @@ -32,12 +32,6 @@ public void onClick(View view) { Toast.makeText(MainActivity.this, "Positive button clicked!", Toast.LENGTH_SHORT).show(); } }) - .setNegativeButton(android.R.string.cancel, new DialogSheet.OnNegativeClickListener() { - @Override - public void onClick(View v) { - - } - }) .setNegativeButton(android.R.string.cancel, null); if(((AppCompatCheckBox)findViewById(R.id.iconCheckBox)).isChecked())