Dialog: add dismiss(), hide() and onCreate() methods

This commit is contained in:
Julian Winkler
2024-02-11 12:38:43 +01:00
parent d253bfd24f
commit bc8443e542
4 changed files with 43 additions and 16 deletions

View File

@@ -8,7 +8,10 @@ public interface DialogInterface {
/** The identifier for the neutral button. */
int BUTTON_NEUTRAL = -3;
public void dismiss();
public interface OnDismissListener {
void onDismiss(DialogInterface dialog);
}
public interface OnClickListener {
void onClick(DialogInterface dialog, int which);