onStateChanged

abstract fun onStateChanged(@NonNull bottomSheet: View, newState: Int)

Called when the bottom sheet changes its state.

Parameters

bottomSheet

The bottom sheet view.