Closed dannysunyu closed 9 years ago
Hello Developers, Can I react on (Close) button press for dialogs with a title, message and Close button? If so, how?
SimpleDialogFragment.createBuilder(this, getSupportFragmentManager()).setTitle(R.string.title).setMessage(R.string.message).setRequestCode(xxx).show();
The onCancelled(int requestCode) won't be called for the Activity that implements ISimpleDialogCancelListener.
onCancelled(int requestCode)
Activity
ISimpleDialogCancelListener
Thanks.
I found out the way myself.
Hello Developers, Can I react on (Close) button press for dialogs with a title, message and Close button? If so, how?
The
onCancelled(int requestCode)
won't be called for theActivity
that implementsISimpleDialogCancelListener
.Thanks.