Dialog With Input
Class that defines a custom alert dialog that accepts a password input from the user.
This implementation is based on the Java code presented in the following video: https://www.youtube.com/watch?v=ARezg1D9Zd0.
Constructors
DialogWithInput
Link copied to clipboard
fun DialogWithInput()
Content copied to clipboard
Creates a custom alert dialog that accepts a password input from the user
Types
DialogWithInputListener
Link copied to clipboard
interface DialogWithInputListener
Content copied to clipboard
Properties
listener
Link copied to clipboard
Inherited properties
mAnimationInfo
Link copied to clipboard
mArguments
Link copied to clipboard
mBackStackId
Link copied to clipboard
mBackStackNesting
Link copied to clipboard
mCancelable
Link copied to clipboard
mChildFragmentManager
Link copied to clipboard
mContainer
Link copied to clipboard
mContainerId
Link copied to clipboard
mContentLayoutId
Link copied to clipboard
mCreatingDialog
Link copied to clipboard
mDefaultFactory
Link copied to clipboard
mDeferStart
Link copied to clipboard
mDialogCreated
Link copied to clipboard
mDismissed
Link copied to clipboard
mDismissRunnable
Link copied to clipboard
mFragmentId
Link copied to clipboard
mFragmentManager
Link copied to clipboard
mFromLayout
Link copied to clipboard
mHiddenChanged
Link copied to clipboard
mHost
Link copied to clipboard
mIsCreated
Link copied to clipboard
mIsNewlyAdded
Link copied to clipboard
mIsPrimaryNavigationFragment
Link copied to clipboard
mLayoutInflater
Link copied to clipboard
mLifecycleRegistry
Link copied to clipboard
mMaxState
Link copied to clipboard
mMenuVisible
Link copied to clipboard
mNextLocalRequestCode
Link copied to clipboard
mObserver
Link copied to clipboard
mOnCancelListener
Link copied to clipboard
mOnDismissListener
Link copied to clipboard
mOnPreAttachedListeners
Link copied to clipboard
private val mOnPreAttachedListeners: ArrayList<Fragment.OnPreAttachedListener>
Content copied to clipboard
mParentFragment
Link copied to clipboard
mPerformedCreateView
Link copied to clipboard
mPostponedAlpha
Link copied to clipboard
mPostponedDurationRunnable
Link copied to clipboard
mRetainInstance
Link copied to clipboard
mRetainInstanceChangedWhileDetached
Link copied to clipboard
mSavedFragmentState
Link copied to clipboard
mSavedStateRegistryController
Link copied to clipboard
mSavedUserVisibleHint
Link copied to clipboard
mSavedViewRegistryState
Link copied to clipboard
mSavedViewState
Link copied to clipboard
mShownByMe
Link copied to clipboard
mShowsDialog
Link copied to clipboard
mTargetRequestCode
Link copied to clipboard
mTargetWho
Link copied to clipboard
mUserVisibleHint
Link copied to clipboard
mViewDestroyed
Link copied to clipboard
mViewLifecycleOwner
Link copied to clipboard
mViewLifecycleOwnerLiveData
Link copied to clipboard
Functions
Inherited functions
callStartTransitionListener
Link copied to clipboard
createFragmentContainer
Link copied to clipboard
dismissAllowingStateLoss
Link copied to clipboard
open fun dismissAllowingStateLoss()
Content copied to clipboard
dismissInternal
Link copied to clipboard
ensureAnimationInfo
Link copied to clipboard
findFragmentByWho
Link copied to clipboard
generateActivityResultKey
Link copied to clipboard
getActivity
Link copied to clipboard
getAllowEnterTransitionOverlap
Link copied to clipboard
getAllowReturnTransitionOverlap
Link copied to clipboard
getAnimatingAway
Link copied to clipboard
getAnimator
Link copied to clipboard
getArguments
Link copied to clipboard
getChildFragmentManager
Link copied to clipboard
getContext
Link copied to clipboard
getDefaultViewModelProviderFactory
Link copied to clipboard
@NonNull()
Content copied to clipboard
getEnterAnim
Link copied to clipboard
getEnterTransition
Link copied to clipboard
getEnterTransitionCallback
Link copied to clipboard
getExitAnim
Link copied to clipboard
getExitTransition
Link copied to clipboard
getExitTransitionCallback
Link copied to clipboard
getFocusedView
Link copied to clipboard
getFragmentManager
Link copied to clipboard
getLayoutInflater
Link copied to clipboard
@NonNull()
Content copied to clipboard
getLifecycle
Link copied to clipboard
getLoaderManager
Link copied to clipboard
getMinimumMaxLifecycleState
Link copied to clipboard
getNextTransition
Link copied to clipboard
getParentFragment
Link copied to clipboard
getParentFragmentManager
Link copied to clipboard
getPopDirection
Link copied to clipboard
getPopEnterAnim
Link copied to clipboard
getPopExitAnim
Link copied to clipboard
getPostOnViewCreatedAlpha
Link copied to clipboard
getReenterTransition
Link copied to clipboard
getResources
Link copied to clipboard
getRetainInstance
Link copied to clipboard
getReturnTransition
Link copied to clipboard
getSavedStateRegistry
Link copied to clipboard
getSharedElementEnterTransition
Link copied to clipboard
getSharedElementReturnTransition
Link copied to clipboard
getSharedElementSourceNames
Link copied to clipboard
getSharedElementTargetNames
Link copied to clipboard
getShowsDialog
Link copied to clipboard
getTargetFragment
Link copied to clipboard
getTargetRequestCode
Link copied to clipboard
getUserVisibleHint
Link copied to clipboard
getViewLifecycleOwner
Link copied to clipboard
getViewLifecycleOwnerLiveData
Link copied to clipboard
@NonNull()
Content copied to clipboard
getViewModelStore
Link copied to clipboard
hasOptionsMenu
Link copied to clipboard
initLifecycle
Link copied to clipboard
private open fun initLifecycle()
Content copied to clipboard
isCancelable
Link copied to clipboard
isDetached
Link copied to clipboard
isHideReplaced
Link copied to clipboard
isInBackStack
Link copied to clipboard
isInLayout
Link copied to clipboard
isMenuVisible
Link copied to clipboard
isPostponed
Link copied to clipboard
isRemoving
Link copied to clipboard
isRemovingParent
Link copied to clipboard
isStateSaved
Link copied to clipboard
noteStateNotSaved
Link copied to clipboard
open fun noteStateNotSaved()
Content copied to clipboard
onActivityCreated
Link copied to clipboard
@MainThread()
@CallSuper()
Content copied to clipboard
onActivityResult
Link copied to clipboard
onAttachFragment
Link copied to clipboard
onCancel
Link copied to clipboard
onConfigurationChanged
Link copied to clipboard
@CallSuper()
Content copied to clipboard
onContextItemSelected
Link copied to clipboard
@MainThread()
Content copied to clipboard
onCreate
Link copied to clipboard
onCreateAnimation
Link copied to clipboard
@MainThread()
@Nullable()
Content copied to clipboard
onCreateAnimator
Link copied to clipboard
@MainThread()
@Nullable()
Content copied to clipboard
onCreateContextMenu
Link copied to clipboard
@MainThread()
Content copied to clipboard
onCreateOptionsMenu
Link copied to clipboard
@MainThread()
Content copied to clipboard
onCreateView
Link copied to clipboard
@MainThread()
@Nullable()
Content copied to clipboard
onDestroy
Link copied to clipboard
onDestroyOptionsMenu
Link copied to clipboard
onDestroyView
Link copied to clipboard
onDetach
Link copied to clipboard
onDismiss
Link copied to clipboard
onFindViewById
Link copied to clipboard
onGetLayoutInflater
Link copied to clipboard
@NonNull()
Content copied to clipboard
onHiddenChanged
Link copied to clipboard
onInflate
Link copied to clipboard
onLowMemory
Link copied to clipboard
onMultiWindowModeChanged
Link copied to clipboard
onOptionsItemSelected
Link copied to clipboard
@MainThread()
Content copied to clipboard
onOptionsMenuClosed
Link copied to clipboard
onPause
Link copied to clipboard
onPictureInPictureModeChanged
Link copied to clipboard
onPrepareOptionsMenu
Link copied to clipboard
onPrimaryNavigationFragmentChanged
Link copied to clipboard
onRequestPermissionsResult
Link copied to clipboard
onResume
Link copied to clipboard
onSaveInstanceState
Link copied to clipboard
@MainThread()
Content copied to clipboard
onStart
Link copied to clipboard
onStop
Link copied to clipboard
onViewCreated
Link copied to clipboard
@MainThread()
Content copied to clipboard
onViewStateRestored
Link copied to clipboard
@MainThread()
Content copied to clipboard
performActivityCreated
Link copied to clipboard
performAttach
Link copied to clipboard
open fun performAttach()
Content copied to clipboard
performConfigurationChanged
Link copied to clipboard
performContextItemSelected
Link copied to clipboard
performCreate
Link copied to clipboard
performCreateOptionsMenu
Link copied to clipboard
open fun performCreateOptionsMenu(@NonNull() p0: Menu, @NonNull() p1: MenuInflater): Boolean
Content copied to clipboard
performCreateView
Link copied to clipboard
open override fun performCreateView(@NonNull() p0: LayoutInflater, @Nullable() p1: ViewGroup?, @Nullable() p2: Bundle?)
Content copied to clipboard
performDestroy
Link copied to clipboard
open fun performDestroy()
Content copied to clipboard
performDestroyView
Link copied to clipboard
open fun performDestroyView()
Content copied to clipboard
performDetach
Link copied to clipboard
open fun performDetach()
Content copied to clipboard
performGetLayoutInflater
Link copied to clipboard
@NonNull()
Content copied to clipboard
performLowMemory
Link copied to clipboard
open fun performLowMemory()
Content copied to clipboard
performMultiWindowModeChanged
Link copied to clipboard
performOptionsItemSelected
Link copied to clipboard
performOptionsMenuClosed
Link copied to clipboard
performPause
Link copied to clipboard
open fun performPause()
Content copied to clipboard
performPictureInPictureModeChanged
Link copied to clipboard
performPrepareOptionsMenu
Link copied to clipboard
performPrimaryNavigationFragmentChanged
Link copied to clipboard
open fun performPrimaryNavigationFragmentChanged()
Content copied to clipboard
performResume
Link copied to clipboard
open fun performResume()
Content copied to clipboard
performSaveInstanceState
Link copied to clipboard
performStart
Link copied to clipboard
open fun performStart()
Content copied to clipboard
performStop
Link copied to clipboard
open fun performStop()
Content copied to clipboard
performViewCreated
Link copied to clipboard
open fun performViewCreated()
Content copied to clipboard
postponeEnterTransition
Link copied to clipboard
open fun postponeEnterTransition()
Content copied to clipboard
prepareCallInternal
Link copied to clipboard
@NonNull()
Content copied to clipboard
prepareDialog
Link copied to clipboard
registerForActivityResult
Link copied to clipboard
@MainThread()
@NonNull()
Content copied to clipboard
@MainThread()
@NonNull()
Content copied to clipboard
registerForContextMenu
Link copied to clipboard
registerOnPreAttachListener
Link copied to clipboard
private open fun registerOnPreAttachListener(@NonNull() p0: Fragment.OnPreAttachedListener)
Content copied to clipboard
requestPermissions
Link copied to clipboard
requireActivity
Link copied to clipboard
requireArguments
Link copied to clipboard
requireContext
Link copied to clipboard
requireDialog
Link copied to clipboard
requireFragmentManager
Link copied to clipboard
requireHost
Link copied to clipboard
requireParentFragment
Link copied to clipboard
requireView
Link copied to clipboard
restoreChildFragmentState
Link copied to clipboard
restoreViewState
Link copied to clipboard
private open fun restoreViewState()
Content copied to clipboard
setAllowEnterTransitionOverlap
Link copied to clipboard
setAllowReturnTransitionOverlap
Link copied to clipboard
setAnimatingAway
Link copied to clipboard
setAnimations
Link copied to clipboard
setAnimator
Link copied to clipboard
setArguments
Link copied to clipboard
setCancelable
Link copied to clipboard
setEnterSharedElementCallback
Link copied to clipboard
open fun setEnterSharedElementCallback(@Nullable() p0: SharedElementCallback?)
Content copied to clipboard
setEnterTransition
Link copied to clipboard
setExitSharedElementCallback
Link copied to clipboard
open fun setExitSharedElementCallback(@Nullable() p0: SharedElementCallback?)
Content copied to clipboard
setExitTransition
Link copied to clipboard
setFocusedView
Link copied to clipboard
setHasOptionsMenu
Link copied to clipboard
setHideReplaced
Link copied to clipboard
setInitialSavedState
Link copied to clipboard
setMenuVisibility
Link copied to clipboard
setNextTransition
Link copied to clipboard
setOnStartEnterTransitionListener
Link copied to clipboard
open fun setOnStartEnterTransitionListener(p0: Fragment.OnStartEnterTransitionListener)
Content copied to clipboard
setPopDirection
Link copied to clipboard
setPostOnViewCreatedAlpha
Link copied to clipboard
setReenterTransition
Link copied to clipboard
setRetainInstance
Link copied to clipboard
setReturnTransition
Link copied to clipboard
setSharedElementEnterTransition
Link copied to clipboard
setSharedElementNames
Link copied to clipboard
setSharedElementReturnTransition
Link copied to clipboard
setShowsDialog
Link copied to clipboard
setTargetFragment
Link copied to clipboard
setupDialog
Link copied to clipboard
setUserVisibleHint
Link copied to clipboard
shouldShowRequestPermissionRationale
Link copied to clipboard
open fun shouldShowRequestPermissionRationale(@NonNull() p0: String): Boolean
Content copied to clipboard
startActivity
Link copied to clipboard
startActivityForResult
Link copied to clipboard
open fun startActivityForResult(p0: Intent, p1: Int, @Nullable() p2: Bundle?)
Content copied to clipboard
startIntentSenderForResult
Link copied to clipboard
open fun startIntentSenderForResult(p0: IntentSender, p1: Int, @Nullable() p2: Intent?, p3: Int, p4: Int, p5: Int, @Nullable() p6: Bundle?)
Content copied to clipboard
startPostponedEnterTransition
Link copied to clipboard
open fun startPostponedEnterTransition()
Content copied to clipboard
unregisterForContextMenu
Link copied to clipboard