public class POBFullScreenDialog
extends android.app.Dialog
| Modifier and Type | Class and Description |
|---|---|
static interface |
POBFullScreenDialog.OnDialogCloseListener
Interface close listener
|
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener| Constructor and Description |
|---|
POBFullScreenDialog(android.content.Context activityContext,
android.webkit.WebView webView,
POBFullScreenDialog.OnDialogCloseListener closeListener)
Constructor to handle Expand Commands
|
| Modifier and Type | Method and Description |
|---|---|
void |
dismiss()
Method will gets called when the dialog gets dismissed
Dialog callback method used to clean up the dialog
|
protected void |
onCreate(android.os.Bundle savedInstanceState)
Default onCreate of dialog to set dismiss listener and handle recreate of it
|
void |
show(int orientation)
To show the dialog with orientation lock if lockOrientation is set to true
|
addContentView, cancel, 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, requireViewById, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setContentView, setContentView, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenupublic POBFullScreenDialog(@NonNull
android.content.Context activityContext,
@NonNull
android.webkit.WebView webView,
@NonNull
POBFullScreenDialog.OnDialogCloseListener closeListener)
activityContext - the instance of activityContext to inflate FullScreenDialogwebView - instance of WebView which need to be shown inside dialogcloseListener - close listener to handle close eventspublic void dismiss()
dismiss in interface android.content.DialogInterfacedismiss in class android.app.Dialogprotected void onCreate(android.os.Bundle savedInstanceState)
onCreate in class android.app.DialogsavedInstanceState - Saved instance objectpublic void show(int orientation)
orientation - the orientation for the dialog