implement android.app.AlertDialog using GtkDialog

This commit is contained in:
Julian Winkler
2023-08-10 11:06:02 +02:00
committed by Mis012
parent fac8e6e7b5
commit 6547e66d4f
5 changed files with 263 additions and 4 deletions

View File

@@ -1,10 +1,20 @@
package android.content;
public interface DialogInterface {
/** 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;
public interface OnDismissListener {
}
public interface OnClickListener {
void onClick(DialogInterface dialog, int which);
}
public interface OnShowListener {
}
public interface OnCancelListener {
}
}