Package com.pointrlabs.core.util
Interface BottomSheetView
-
- All Implemented Interfaces:
public interface BottomSheetView
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
BottomSheetView.Companion
-
Method Summary
Modifier and Type Method Description Unit
applyBottomSheetBehavior(View view, Boolean hideable, Integer peekHeight, View peekConstraintView)
Unit
initBottomSheet(View view, Boolean hideable, Integer peekHeight, View peekConstraintView)
Unit
animatePeekHeight(Integer to, Function0<Unit> onComplete)
Unit
onBottomSheetStateChanged(Boolean expanded)
Unit
onAnimationUpdate(Integer progress, Integer finalValue)
Unit
onAnimationEnd(Integer peekHeight)
Unit
onBottomSheetSlide(View bottomSheetView, Float slideOffset)
Unit
expand()
Unit
toggleExpand()
Unit
collapse(Function0<Unit> onComplete)
Boolean
isExpanded()
Boolean
isExpandedOrPeeking()
Boolean
isExpanding()
Boolean
isCollapsing()
abstract BottomSheet
getBottomSheet()
abstract Unit
setBottomSheet(BottomSheet bottomSheet)
-
-
Method Detail
-
applyBottomSheetBehavior
Unit applyBottomSheetBehavior(View view, Boolean hideable, Integer peekHeight, View peekConstraintView)
-
initBottomSheet
Unit initBottomSheet(View view, Boolean hideable, Integer peekHeight, View peekConstraintView)
-
animatePeekHeight
Unit animatePeekHeight(Integer to, Function0<Unit> onComplete)
-
onBottomSheetStateChanged
Unit onBottomSheetStateChanged(Boolean expanded)
-
onAnimationUpdate
Unit onAnimationUpdate(Integer progress, Integer finalValue)
-
onAnimationEnd
Unit onAnimationEnd(Integer peekHeight)
-
onBottomSheetSlide
Unit onBottomSheetSlide(View bottomSheetView, Float slideOffset)
-
toggleExpand
Unit toggleExpand()
-
isExpanded
Boolean isExpanded()
-
isExpandedOrPeeking
Boolean isExpandedOrPeeking()
-
isExpanding
Boolean isExpanding()
-
isCollapsing
Boolean isCollapsing()
-
getBottomSheet
abstract BottomSheet getBottomSheet()
-
setBottomSheet
abstract Unit setBottomSheet(BottomSheet bottomSheet)
-
-
-
-