public static interface SlideDrawer.SlideDisable
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
boolean |
shouldDisableSlide(SlideDrawer layout,
SlideDrawer.SlideDirection direction,
DragInfo info) |
Called to determine whether the current slide event on
SlideDrawer should be disabled. |
boolean shouldDisableSlide(SlideDrawer layout, SlideDrawer.SlideDirection direction, DragInfo info)
SlideDrawer should be disabled.info - Indicates the DragInfo information of the current slide event.layout - Indicates the SlideDrawer where the slide event occurred.direction - Indicates the direction of the slide event.true if the slide event should be denied; returns false otherwise.