public abstract class BasicDialog
extends android.app.Dialog
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener| 限定符和类型 | 字段和说明 |
|---|---|
protected android.view.View |
mRootView |
| 构造器和说明 |
|---|
BasicDialog(android.content.Context context) |
BasicDialog(android.content.Context context,
int themeResId) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cancel() |
void |
dismiss() |
protected void |
initFeature() |
protected abstract void |
initView(android.os.Bundle savedInstanceState) |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
protected abstract android.view.View |
onCreateView(android.widget.FrameLayout container) |
void |
show() |
addContentView, closeOptionsMenu, create, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onStart, onStop, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setContentView, setContentView, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, takeKeyEvents, unregisterForContextMenupublic BasicDialog(@NonNull
android.content.Context context)
public BasicDialog(@NonNull
android.content.Context context,
int themeResId)
protected void onCreate(android.os.Bundle savedInstanceState)
onCreate 在类中 android.app.Dialogprotected void initFeature()
protected abstract void initView(android.os.Bundle savedInstanceState)
protected abstract android.view.View onCreateView(android.widget.FrameLayout container)
public void show()
show 在类中 android.app.Dialogpublic void dismiss()
dismiss 在接口中 android.content.DialogInterfacedismiss 在类中 android.app.Dialogpublic void cancel()
cancel 在接口中 android.content.DialogInterfacecancel 在类中 android.app.Dialog