-
- All Implemented Interfaces:
-
android.content.ComponentCallbacks,android.content.DialogInterface.OnCancelListener,android.content.DialogInterface.OnDismissListener,android.view.View.OnCreateContextMenuListener,androidx.activity.result.ActivityResultCaller,androidx.lifecycle.HasDefaultViewModelProviderFactory,androidx.lifecycle.LifecycleOwner,androidx.lifecycle.ViewModelStoreOwner,androidx.savedstate.SavedStateRegistryOwner
public final class FunBottomSelectDialog<T extends ISelection> extends BottomSheetDialogFragmentAuthor: XmFunCoding Email: xmfuncoding@163.com Date: 2022-10-15 18:37 Description: 底部选择对话框
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classFunBottomSelectDialog.Companionpublic interfaceFunBottomSelectDialog.OnItemSelectListener
-
Field Summary
Fields Modifier and Type Field Description private final IntegermStateprivate final BundlemSavedFragmentStateprivate final SparseArray<Parcelable>mSavedViewStateprivate final BundlemSavedViewRegistryStateprivate final BooleanmSavedUserVisibleHintprivate final StringmWhoprivate final BundlemArgumentsprivate final FragmentmTargetprivate final StringmTargetWhoprivate final IntegermTargetRequestCodeprivate final BooleanmAddedprivate final BooleanmRemovingprivate final BooleanmFromLayoutprivate final BooleanmInLayoutprivate final BooleanmRestoredprivate final BooleanmPerformedCreateViewprivate final IntegermBackStackNestingprivate final FragmentManagermFragmentManagerprivate final FragmentHostCallback<?>mHostprivate final FragmentManagermChildFragmentManagerprivate final FragmentmParentFragmentprivate final IntegermFragmentIdprivate final IntegermContainerIdprivate final StringmTagprivate final BooleanmHiddenprivate final BooleanmDetachedprivate final BooleanmRetainInstanceprivate final BooleanmRetainInstanceChangedWhileDetachedprivate final BooleanmHasMenuprivate final BooleanmMenuVisibleprivate final ViewGroupmContainerprivate final ViewmViewprivate final BooleanmDeferStartprivate final BooleanmUserVisibleHintprivate final Fragment.AnimationInfomAnimationInfoprivate final RunnablemPostponedDurationRunnableprivate final BooleanmIsNewlyAddedprivate final BooleanmHiddenChangedprivate final FloatmPostponedAlphaprivate final LayoutInflatermLayoutInflaterprivate final BooleanmIsCreatedprivate final Lifecycle.StatemMaxStateprivate final LifecycleRegistrymLifecycleRegistryprivate final FragmentViewLifecycleOwnermViewLifecycleOwnerprivate final MutableLiveData<LifecycleOwner>mViewLifecycleOwnerLiveDataprivate final ViewModelProvider.FactorymDefaultFactoryprivate final SavedStateRegistryControllermSavedStateRegistryControllerprivate final SavedStateRegistrysavedStateRegistry
-
Constructor Summary
Constructors Constructor Description FunBottomSelectDialog()
-
Method Summary
Modifier and Type Method Description final SavedStateRegistrygetSavedStateRegistry()ViewonCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)UnitonViewCreated(View view, Bundle savedInstanceState)DialogonCreateDialog(Bundle savedInstanceState)final UnitsetOnItemSelectListener(FunBottomSelectDialog.OnItemSelectListener onItemSelectListener)final UnitsetOnCloseClickListener(View.OnClickListener onClickListener)final Unitshow(FragmentManager manager)Unitshow(FragmentManager manager, String tag)final BooleanisShowing()-
Methods inherited from class androidx.appcompat.app.AppCompatDialogFragment
createFragmentContainer, getDialog, getShowsDialog, getTheme, isCancelable, onAttach, onCancel, onCreate, onDestroyView, onDetach, onDismiss, onFindViewById, onGetLayoutInflater, onHasView, onSaveInstanceState, onStart, onStop, onViewStateRestored, performCreateView, requireDialog, setCancelable, setShowsDialog, setStyle, show, showNow -
Methods inherited from class androidx.fragment.app.DialogFragment
callStartTransitionListener, dump, equals, findFragmentByWho, generateActivityResultKey, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getAnimatingAway, getAnimator, getArguments, getChildFragmentManager, getContext, getDefaultViewModelProviderFactory, getEnterAnim, getEnterTransition, getEnterTransitionCallback, getExitAnim, getExitTransition, getExitTransitionCallback, getFocusedView, getFragmentManager, getHost, getId, getLayoutInflater, getLayoutInflater, getLifecycle, getLoaderManager, getNextTransition, getParentFragment, getParentFragmentManager, getPopDirection, getPopEnterAnim, getPopExitAnim, getPostOnViewCreatedAlpha, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSharedElementEnterTransition, getSharedElementReturnTransition, getSharedElementSourceNames, getSharedElementTargetNames, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, getViewLifecycleOwner, getViewLifecycleOwnerLiveData, getViewModelStore, hasOptionsMenu, hashCode, initState, isAdded, isDetached, isHidden, isHideReplaced, isInBackStack, isInLayout, isMenuVisible, isPostponed, isRemoving, isRemovingParent, isResumed, isStateSaved, isVisible, noteStateNotSaved, onActivityCreated, onActivityResult, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroy, onDestroyOptionsMenu, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onRequestPermissionsResult, onResume, performActivityCreated, performAttach, performConfigurationChanged, performContextItemSelected, performCreate, performCreateOptionsMenu, performDestroy, performDestroyView, performDetach, performGetLayoutInflater, performLowMemory, performMultiWindowModeChanged, performOptionsItemSelected, performOptionsMenuClosed, performPause, performPictureInPictureModeChanged, performPrepareOptionsMenu, performPrimaryNavigationFragmentChanged, performResume, performSaveInstanceState, performStart, performStop, performViewCreated, postponeEnterTransition, postponeEnterTransition, registerForActivityResult, registerForActivityResult, registerForContextMenu, requestPermissions, requireActivity, requireArguments, requireContext, requireFragmentManager, requireHost, requireParentFragment, requireView, restoreChildFragmentState, restoreViewState, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setAnimatingAway, setAnimations, setAnimator, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setFocusedView, setHasOptionsMenu, setHideReplaced, setInitialSavedState, setMenuVisibility, setNextTransition, setOnStartEnterTransitionListener, setPopDirection, setPostOnViewCreatedAlpha, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementNames, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu -
Methods inherited from class androidx.fragment.app.Fragment
getDefaultViewModelCreationExtras -
Methods inherited from class com.xmfuncoding.fundialog.FunBottomSelectDialog
dismiss, dismissAllowingStateLoss -
Methods inherited from class com.google.android.material.bottomsheet.BottomSheetDialogFragment
setupDialog -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSavedStateRegistry
@NonNull() final SavedStateRegistry getSavedStateRegistry()
-
onCreateView
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
-
onViewCreated
Unit onViewCreated(View view, Bundle savedInstanceState)
-
onCreateDialog
Dialog onCreateDialog(Bundle savedInstanceState)
-
setOnItemSelectListener
final Unit setOnItemSelectListener(FunBottomSelectDialog.OnItemSelectListener onItemSelectListener)
-
setOnCloseClickListener
final Unit setOnCloseClickListener(View.OnClickListener onClickListener)
-
show
final Unit show(FragmentManager manager)
-
-
-
-