-
- All Implemented Interfaces:
-
android.arch.lifecycle.LifecycleOwner
,android.arch.lifecycle.ViewModelStoreOwner
,android.content.ComponentCallbacks
,android.view.View.OnCreateContextMenuListener
,com.pointrlabs.core.util.BottomSheetView
public final class SearchFragment extends PTRFragment implements BottomSheetView
-
-
Field Summary
Fields Modifier and Type Field Description private BottomSheet
bottomSheet
private final Integer
mState
private final Bundle
mSavedFragmentState
private final SparseArray<Parcelable>
mSavedViewState
private final Boolean
mSavedUserVisibleHint
private final Integer
mIndex
private final String
mWho
private final Bundle
mArguments
private final Fragment
mTarget
private final Integer
mTargetIndex
private final Integer
mTargetRequestCode
private final Boolean
mAdded
private final Boolean
mRemoving
private final Boolean
mFromLayout
private final Boolean
mInLayout
private final Boolean
mRestored
private final Boolean
mPerformedCreateView
private final Integer
mBackStackNesting
private final FragmentManagerImpl
mFragmentManager
private final FragmentHostCallback<Object>
mHost
private final FragmentManagerImpl
mChildFragmentManager
private final FragmentManagerNonConfig
mChildNonConfig
private final ViewModelStore
mViewModelStore
private final Fragment
mParentFragment
private final Integer
mFragmentId
private final Integer
mContainerId
private final String
mTag
private final Boolean
mHidden
private final Boolean
mDetached
private final Boolean
mRetainInstance
private final Boolean
mRetaining
private final Boolean
mHasMenu
private final Boolean
mMenuVisible
private final Boolean
mCalled
private final ViewGroup
mContainer
private final View
mView
private final View
mInnerView
private final Boolean
mDeferStart
private final Boolean
mUserVisibleHint
private final Fragment.AnimationInfo
mAnimationInfo
private final Boolean
mIsNewlyAdded
private final Boolean
mHiddenChanged
private final Float
mPostponedAlpha
private final LayoutInflater
mLayoutInflater
private final Boolean
mIsCreated
private final LifecycleRegistry
mLifecycleRegistry
private final LifecycleRegistry
mViewLifecycleRegistry
private final LifecycleOwner
mViewLifecycleOwner
private final MutableLiveData<LifecycleOwner>
mViewLifecycleOwnerLiveData
-
Constructor Summary
Constructors Constructor Description SearchFragment()
-
Method Summary
Modifier and Type Method Description BottomSheet
getBottomSheet()
Unit
setBottomSheet(BottomSheet bottomSheet)
Unit
onCreate(Bundle savedInstanceState)
View
onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
Unit
onViewCreated(View view, Bundle savedInstanceState)
Unit
onDestroyView()
Unit
onBottomSheetSlide(View bottomSheetView, Float slideOffset)
Unit
onBottomSheetStateChanged(Boolean expanded)
Unit
expand()
final Unit
clear()
Unit
collapse()
final Unit
show()
final Unit
hide()
final Unit
onSearchInput(String searchInput, Long delayMillis)
-
Methods inherited from class com.pointrlabs.core.map.views.search.SearchFragment
animatePeekHeight, applyBottomSheetBehavior, getColor, hideKeyboard, initBottomSheet, isCollapsing, isExpanded, isExpandedOrPeeking, isExpanding, onActivityCreated, onResume, onStop, showKeyboard, toast, toast, toggleExpand
-
Methods inherited from class com.pointrlabs.core.map.views.helper_views.PTRFragment
callStartTransitionListener, dump, equals, findFragmentByWho, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getAnimatingAway, getAnimator, getArguments, getChildFragmentManager, getContext, getEnterTransition, getEnterTransitionCallback, getExitTransition, getExitTransitionCallback, getFragmentManager, getHost, getId, getLayoutInflater, getLayoutInflater, getLifecycle, getLoaderManager, getNextAnim, getNextTransition, getNextTransitionStyle, getParentFragment, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSharedElementEnterTransition, getSharedElementReturnTransition, getStateAfterAnimating, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, getViewLifecycleOwner, getViewLifecycleOwnerLiveData, getViewModelStore, hasOptionsMenu, hashCode, initState, instantiateChildFragmentManager, isAdded, isDetached, isHidden, isHideReplaced, isInBackStack, isInLayout, isMenuVisible, isPostponed, isRemoving, isResumed, isStateSaved, isVisible, noteStateNotSaved, onActivityResult, onAttach, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroy, onDestroyOptionsMenu, onDetach, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPrepareOptionsMenu, onRequestPermissionsResult, onSaveInstanceState, onStart, onViewStateRestored, peekChildFragmentManager, performActivityCreated, performConfigurationChanged, performContextItemSelected, performCreate, performCreateOptionsMenu, performCreateView, performDestroy, performDestroyView, performDetach, performGetLayoutInflater, performLowMemory, performMultiWindowModeChanged, performOptionsItemSelected, performOptionsMenuClosed, performPause, performPictureInPictureModeChanged, performPrepareOptionsMenu, performResume, performSaveInstanceState, performStart, performStop, postponeEnterTransition, registerForContextMenu, requestPermissions, requireActivity, requireContext, requireFragmentManager, requireHost, restoreChildFragmentState, restoreViewState, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setAnimatingAway, setAnimator, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setHideReplaced, setIndex, setInitialSavedState, setMenuVisibility, setNextAnim, setNextTransition, setOnStartEnterTransitionListener, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setStateAfterAnimating, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, 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
-
getBottomSheet
BottomSheet getBottomSheet()
-
setBottomSheet
Unit setBottomSheet(BottomSheet bottomSheet)
-
onCreateView
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
-
onViewCreated
Unit onViewCreated(View view, Bundle savedInstanceState)
-
onDestroyView
Unit onDestroyView()
-
onBottomSheetSlide
Unit onBottomSheetSlide(View bottomSheetView, Float slideOffset)
-
onBottomSheetStateChanged
Unit onBottomSheetStateChanged(Boolean expanded)
-
onSearchInput
final Unit onSearchInput(String searchInput, Long delayMillis)
-
-
-
-