Package ai.nexconn.chatui.widget.dialog
Class OptionsPopupDialog
-
- All Implemented Interfaces:
-
android.content.DialogInterface,android.view.KeyEvent.Callback,android.view.View.OnCreateContextMenuListener,android.view.Window.Callback
public class OptionsPopupDialog extends AlertDialog
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceOptionsPopupDialog.OnOptionsItemClickedListener
-
Field Summary
Fields Modifier and Type Field Description public final static intTHEME_DEVICE_DEFAULT_DARKpublic final static intTHEME_DEVICE_DEFAULT_LIGHTpublic final static intTHEME_HOLO_DARKpublic final static intTHEME_HOLO_LIGHTpublic final static intTHEME_TRADITIONALpublic final static intBUTTON1public final static intBUTTON2public final static intBUTTON3public final static intBUTTON_NEGATIVEpublic final static intBUTTON_NEUTRALpublic final static intBUTTON_POSITIVE
-
Constructor Summary
Constructors Constructor Description OptionsPopupDialog(Context context, Array<String> arrays)
-
Method Summary
Modifier and Type Method Description static OptionsPopupDialognewInstance(Context context, Array<String> arrays)voidonStart()OptionsPopupDialogsetOptionsPopupDialogListener(OptionsPopupDialog.OnOptionsItemClickedListener itemListener)voidshow()-
Methods inherited from class android.app.AlertDialog
getButton, getListView, onCreate, onKeyDown, onKeyUp, setButton, setButton2, setButton3, setCustomTitle, setIcon, setIconAttribute, setInverseBackgroundForced, setMessage, setTitle, setView -
Methods inherited from class android.app.Dialog
addContentView, cancel, closeOptionsMenu, create, dismiss, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOnBackInvokedDispatcher, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyLongPress, onKeyMultiple, onKeyShortcut, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onStop, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelMessage, setCancelable, setCanceledOnTouchOutside, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setVolumeControlStream, takeKeyEvents, unregisterForContextMenu -
Methods inherited from class android.view.Window.Callback
onPointerCaptureChanged, onProvideKeyboardShortcuts -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
newInstance
static OptionsPopupDialog newInstance(Context context, Array<String> arrays)
-
onStart
void onStart()
-
setOptionsPopupDialogListener
OptionsPopupDialog setOptionsPopupDialogListener(OptionsPopupDialog.OnOptionsItemClickedListener itemListener)
-
show
void show()
-
-
-
-