onDrawerSlide

open fun onDrawerSlide(drawerView: View, slideOffset: Float)(source)

DrawerLayout.DrawerListener callback method. If you do not use your ActionBarDrawerToggle instance directly as your DrawerLayout's listener, you should call through to this method from your own listener object.

Parameters

drawerView

The child view that was moved

slideOffset

The new offset of this drawer within its range, from 0-1