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())