openDrawer

open fun openDrawer(@NonNull drawerView: View)(source)

Open the specified drawer view by animating it into view.

Parameters

drawerView

Drawer view to open


open fun openDrawer(@NonNull drawerView: View, animate: Boolean)(source)

Open the specified drawer view.

Parameters

drawerView

Drawer view to open

animate

Whether opening of the drawer should be animated.


open fun openDrawer(gravity: Int)(source)

Open the specified drawer by animating it out of view.

Parameters

gravity

Gravity.LEFT to move the left drawer or Gravity.RIGHT for the right. GravityCompat.START or GravityCompat.END may also be used.


open fun openDrawer(gravity: Int, animate: Boolean)(source)

Open the specified drawer.

Parameters

gravity

Gravity.LEFT to move the left drawer or Gravity.RIGHT for the right. GravityCompat.START or GravityCompat.END may also be used.

animate

Whether opening of the drawer should be animated.