animateStateTransition

fun animateStateTransition(view: ViewGroup, toState: PaneState, skipAnimation: Boolean)

Transitions view to toState, forwarding slide and transition-end notifications.

Parameters

view

owning layout, which must be a ResponsivePaneLayout.

skipAnimation

whether to jump to the target width without animating.