-
- All Implemented Interfaces:
-
android.content.DialogInterface,android.view.KeyEvent.Callback,android.view.View.OnCreateContextMenuListener,android.view.Window.Callback,androidx.activity.OnBackPressedDispatcherOwner,androidx.appcompat.app.AppCompatCallback,androidx.lifecycle.LifecycleOwner,androidx.savedstate.SavedStateRegistryOwner
public final class ExternalWebViewBottomSheet extends BottomSheetDialog
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classExternalWebViewBottomSheet.Companion
-
Field Summary
Fields Modifier and Type Field Description private ExternalLoginConfigconfigprivate final <ERROR CLASS>truvWebViewClientprivate StringscriptFromUrlprivate Jobjobprivate final BooleandismissWithAnimationprivate final Booleancancelableprivate final Lifecyclelifecycleprivate final OnBackPressedDispatcheronBackPressedDispatcherprivate final SavedStateRegistrysavedStateRegistry
-
Constructor Summary
Constructors Constructor Description ExternalWebViewBottomSheet(Context context, Integer styleRes, Set<TruvEventsListener> eventListeners, Function2<List<Cookie>, String, Unit> onCookie)
-
Method Summary
Modifier and Type Method Description final ExternalLoginConfiggetConfig()final UnitsetConfig(ExternalLoginConfig config)final <ERROR CLASS>getTruvWebViewClient()final StringgetScriptFromUrl()final UnitsetScriptFromUrl(String scriptFromUrl)final JobgetJob()final UnitsetJob(Job job)LifecyclegetLifecycle()final OnBackPressedDispatchergetOnBackPressedDispatcher()SavedStateRegistrygetSavedStateRegistry()final UnitsetContentView()final StringgetSelectorScript()Unitdismiss()final ViewfindErrorLoading()final ViewfindErrorRetryButton()final WebViewfindWebView()final ViewfindProgressBar()final TextViewfindTitle()final ImageViewfindRefresher()-
Methods inherited from class com.truv.webview.ExternalWebViewBottomSheet
cancel, getBehavior, getDismissWithAnimation, getEdgeToEdgeEnabled, onAttachedToWindow, onCreate, onDetachedFromWindow, onStart, removeDefaultCallback, setCancelable, setCanceledOnTouchOutside, setContentView, setContentView, setContentView, setDismissWithAnimation, shouldWindowCloseOnTouchOutside -
Methods inherited from class com.google.android.material.bottomsheet.BottomSheetDialog
addContentView, dispatchKeyEvent, findViewById, getDelegate, getSupportActionBar, invalidateOptionsMenu, onStop, onSupportActionModeFinished, onSupportActionModeStarted, onWindowStartingSupportActionMode, setTitle, setTitle, superDispatchKeyEvent, supportRequestWindowFeature -
Methods inherited from class androidx.appcompat.app.AppCompatDialog
initializeViewTreeOwners, onBackPressed, onSaveInstanceState -
Methods inherited from class androidx.activity.ComponentDialog
closeOptionsMenu, create, dispatchGenericMotionEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOnBackInvokedDispatcher, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, isShowing, onActionModeFinished, onActionModeStarted, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSearchRequested, onSearchRequested, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelMessage, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenu -
Methods inherited from class android.app.Dialog
onPointerCaptureChanged, onProvideKeyboardShortcuts -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getConfig
final ExternalLoginConfig getConfig()
-
setConfig
final Unit setConfig(ExternalLoginConfig config)
-
getTruvWebViewClient
final <ERROR CLASS> getTruvWebViewClient()
-
getScriptFromUrl
final String getScriptFromUrl()
-
setScriptFromUrl
final Unit setScriptFromUrl(String scriptFromUrl)
-
getJob
final Job getJob()
-
getLifecycle
Lifecycle getLifecycle()
-
getOnBackPressedDispatcher
final OnBackPressedDispatcher getOnBackPressedDispatcher()
-
getSavedStateRegistry
SavedStateRegistry getSavedStateRegistry()
-
setContentView
final Unit setContentView()
-
getSelectorScript
final String getSelectorScript()
-
findErrorLoading
final View findErrorLoading()
-
findErrorRetryButton
final View findErrorRetryButton()
-
findWebView
final WebView findWebView()
-
findProgressBar
final View findProgressBar()
-
findRefresher
final ImageView findRefresher()
-
-
-
-