android.support.v4.widget.DrawerLayout.DrawerListener |
Known Indirect Subclasses |
Listener for monitoring events about drawers.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when a drawer has settled in a completely closed state.
| |||||||||||
Called when a drawer has settled in a completely open state.
| |||||||||||
Called when a drawer's position changes.
| |||||||||||
Called when the drawer motion state changes.
|
Called when a drawer has settled in a completely closed state.
drawerView | Drawer view that is now closed |
---|
Called when a drawer has settled in a completely open state. The drawer is interactive at this point.
drawerView | Drawer view that is now open |
---|
Called when a drawer's position changes.
drawerView | The child view that was moved |
---|---|
slideOffset | The new offset of this drawer within its range, from 0-1 |
Called when the drawer motion state changes. The new state will
be one of STATE_IDLE
, STATE_DRAGGING
or STATE_SETTLING
.
newState | The new drawer motion state |
---|