Class AttachmentsPickerDialogFragment

  • 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 AttachmentsPickerDialogFragment
    extends BottomSheetDialogFragment
                        

    Represent the bottom sheet dialog that allows users to pick attachments.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
      Unit onViewCreated(View view, Bundle savedInstanceState)
      Unit onDestroyView()
      Unit onDestroy()
      Integer getTheme()
      final Unit setStyle(AttachmentsPickerDialogStyle style) Initializes the dialog with the style.
      final Unit setAttachmentsPickerTabFactories(List<AttachmentsPickerTabFactory> attachmentsPickerTabFactories) Sets the list of factories for the tabs that will be displayed in the attachment picker.
      final Unit setAttachmentSelectionListener(AttachmentSelectionListener attachmentSelectionListener) Sets the listener that will be notified when picking attachments has been completed.
      final Unit setAttachmentsSelectionListener(AttachmentsPickerDialogFragment.AttachmentsSelectionListener attachmentsSelectionListener) Sets the listener that will be notified when picking attachments has been completed.
      • Methods inherited from class androidx.fragment.app.Fragment

        dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getDefaultViewModelCreationExtras, getDefaultViewModelProviderFactory, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLayoutInflater, getLifecycle, getLoaderManager, getParentFragment, getParentFragmentManager, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSavedStateRegistry, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, getViewLifecycleOwner, getViewLifecycleOwnerLiveData, getViewModelStore, hasOptionsMenu, hashCode, isAdded, isDetached, isHidden, isInLayout, isMenuVisible, isRemoving, isResumed, isStateSaved, isVisible, onActivityResult, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onRequestPermissionsResult, onResume, postponeEnterTransition, postponeEnterTransition, registerForActivityResult, registerForActivityResult, registerForContextMenu, requestPermissions, requireActivity, requireArguments, requireContext, requireFragmentManager, requireHost, requireParentFragment, requireView, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
      • Methods inherited from class androidx.appcompat.app.AppCompatDialogFragment

        setupDialog
      • Methods inherited from class androidx.fragment.app.DialogFragment

        dismissNow, getDialog, getShowsDialog, isCancelable, onActivityCreated, onAttach, onCancel, onCreate, onDetach, onDismiss, onGetLayoutInflater, onSaveInstanceState, onStart, onStop, onViewStateRestored, requireComponentDialog, requireDialog, setCancelable, setShowsDialog, setStyle, show, show, showNow
      • Methods inherited from class com.google.android.material.bottomsheet.BottomSheetDialogFragment

        dismiss, dismissAllowingStateLoss, onCreateDialog
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait