Class DynamicBottomSheetBehavior<V extends View>

Type Parameters:
V - The type of the view attached to this behavior.
All Implemented Interfaces:
MaterialBackHandler

public class DynamicBottomSheetBehavior<V extends View> extends BottomSheetBehavior<V>
A BottomSheetBehavior behavior to automatically hide it according to the nested scroll. Set this behavior in the layout file having CoordinatorLayout as root element to hide the bottom sheet according to the scroll direction.

Scrolling in downwards direction will hide the bottom sheet.