2022-10-02 23:06:56 +02:00
|
|
|
package android.content;
|
|
|
|
|
|
|
|
|
|
public interface DialogInterface {
|
2023-08-10 11:06:02 +02:00
|
|
|
/** The identifier for the positive button. */
|
|
|
|
|
int BUTTON_POSITIVE = -1;
|
|
|
|
|
/** The identifier for the negative button. */
|
|
|
|
|
int BUTTON_NEGATIVE = -2;
|
|
|
|
|
/** The identifier for the neutral button. */
|
|
|
|
|
int BUTTON_NEUTRAL = -3;
|
|
|
|
|
|
2024-02-11 12:38:43 +01:00
|
|
|
public void dismiss();
|
|
|
|
|
|
2024-03-29 23:56:28 +01:00
|
|
|
public void cancel();
|
|
|
|
|
|
2022-10-02 23:06:56 +02:00
|
|
|
public interface OnDismissListener {
|
2024-02-11 12:38:43 +01:00
|
|
|
void onDismiss(DialogInterface dialog);
|
2022-10-02 23:06:56 +02:00
|
|
|
}
|
|
|
|
|
public interface OnClickListener {
|
2023-08-10 11:06:02 +02:00
|
|
|
void onClick(DialogInterface dialog, int which);
|
2022-10-02 23:06:56 +02:00
|
|
|
}
|
2023-01-09 12:07:57 +01:00
|
|
|
public interface OnShowListener {
|
2024-06-15 22:32:01 +02:00
|
|
|
void onShow(DialogInterface dialog);
|
2023-01-09 12:07:57 +01:00
|
|
|
}
|
2023-08-10 11:06:02 +02:00
|
|
|
public interface OnCancelListener {
|
|
|
|
|
}
|
2023-09-12 23:18:47 +02:00
|
|
|
public interface OnMultiChoiceClickListener {
|
|
|
|
|
}
|
2022-10-02 23:06:56 +02:00
|
|
|
}
|