Package 

Class BottomSheet

  • 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 , com.discord.app.AppComponent , com.discord.app.AppLogger.a , com.discord.app.AppPermissionsRequests

    
    public class BottomSheet
    extends AppBottomSheet
                        

    AppBottomSheet with helper methods

    • Method Summary

      Modifier and Type Method Description
      int getContentViewResId()
      void onViewCreated(View view, Bundle bundle)
      LinearLayout getLinearLayout() Returns the LinearLayout associated with this BottomSheet
      final void setPadding(int p) Sets the padding of the LinearLayout associated with this BottomSheet
      void clear() Removes all views of the LinearLayout associated with this BottomSheet
      final void addView(View view) Adds a view to the LinearLayout associated with this BottomSheet
      final void removeView(View view) Removes a view from the LinearLayout associated with this BottomSheet
      • Methods inherited from class com.discord.app.AppBottomSheet

        bindSubscriptions, dismiss, getAppActivity, getArgumentsOrDefault, getContentViewResId, getLoggingConfig, getUnsubscribeSignal, hasMedia, hideKeyboard, hideKeyboard$default, onCreate, onCreateDialog, onCreateView, onDestroyView, onPause, onResume, onStateChanged, onViewCreated, requestCameraQRScanner, requestContacts, requestMedia, requestMediaDownload, requestMicrophone, requestVideoCallPermissions, requireAppActivity, setBottomSheetCollapsedStateDisabled, setBottomSheetState, setOnClickAndDismissListener, setPeekHeightBottomView, show, show, showKeyboard, updatePeekHeightPx
      • Methods inherited from class com.google.android.material.bottomsheet.BottomSheetDialogFragment

        dismissAllowingStateLoss
      • Methods inherited from class androidx.appcompat.app.AppCompatDialogFragment

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

        access$000, access$100, access$200, createFragmentContainer, getDialog, getShowsDialog, getTheme, isCancelable, onAttach, onCancel, onDetach, onDismiss, onFindViewById, onGetLayoutInflater, onHasView, onSaveInstanceState, onStart, onStop, onViewStateRestored, performCreateView, requireDialog, setCancelable, setShowsDialog, setStyle, showNow
      • Methods inherited from class androidx.fragment.app.Fragment

        callStartTransitionListener, dump, e, equals, findFragmentByWho, generateActivityResultKey, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getAnimatingAway, getAnimator, getArguments, getChildFragmentManager, getContext, getDefaultViewModelProviderFactory, getEnterTransition, getEnterTransitionCallback, getExitTransition, getExitTransitionCallback, getFocusedView, getFragmentManager, getHost, getId, getLayoutInflater, getLifecycle, getLoaderManager, getNextAnim, getNextTransition, getParentFragment, getParentFragmentManager, getPostOnViewCreatedAlpha, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSavedStateRegistry, getSharedElementEnterTransition, getSharedElementReturnTransition, getSharedElementSourceNames, getSharedElementTargetNames, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, getViewLifecycleOwner, getViewLifecycleOwnerLiveData, getViewModelStore, hasOptionsMenu, hashCode, initState, instantiate, isAdded, isDetached, isHidden, isHideReplaced, isInBackStack, isInLayout, isMenuVisible, isPostponed, isRemoving, isRemovingParent, isResumed, isStateSaved, isVisible, noteStateNotSaved, onActivityCreated, onActivityResult, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroy, onDestroyOptionsMenu, onHiddenChanged, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onRequestPermissionsResult, performActivityCreated, performAttach, performConfigurationChanged, performContextItemSelected, performCreate, performCreateOptionsMenu, performDestroy, performDestroyView, performDetach, performGetLayoutInflater, performLowMemory, performMultiWindowModeChanged, performOptionsItemSelected, performOptionsMenuClosed, performPause, performPictureInPictureModeChanged, performPrepareOptionsMenu, performPrimaryNavigationFragmentChanged, performResume, performSaveInstanceState, performStart, performStop, performViewCreated, postponeEnterTransition, registerForActivityResult, registerForContextMenu, requestPermissions, requireActivity, requireArguments, requireContext, requireFragmentManager, requireHost, requireParentFragment, requireView, restoreChildFragmentState, restoreViewState, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setAnimatingAway, setAnimator, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setFocusedView, setHasOptionsMenu, setHideReplaced, setInitialSavedState, setMenuVisibility, setNextAnim, setNextTransition, setOnStartEnterTransitionListener, setPostOnViewCreatedAlpha, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementNames, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setPadding

         final void setPadding(int p)

        Sets the padding of the LinearLayout associated with this BottomSheet

      • clear

         void clear()

        Removes all views of the LinearLayout associated with this BottomSheet

      • addView

         final void addView(View view)

        Adds a view to the LinearLayout associated with this BottomSheet

      • removeView

         final void removeView(View view)

        Removes a view from the LinearLayout associated with this BottomSheet