on State Changed
Called when the bottom sheet changes its state.
Parameters
bottom Sheet
The bottom sheet view.
new State
The new state. This will be one of STATE_DRAGGING, STATE_SETTLING, STATE_EXPANDED, STATE_COLLAPSED, STATE_HIDDEN, or STATE_HALF_EXPANDED.