close

open fun close(animation: Boolean)

Close the panel to hide the secondary view

Parameters

animation

true to animate the close motion. SwipeListener won't be called if is animation is false.