public static interface PhoneDragTabsEventHandler.Callback extends AbstractDragTabsEventHandler.Callback
Modifier and Type | Method and Description |
---|---|
void |
onStartOvershoot(float position)
The method, which is invoked, when tabs are overshooting at the start.
|
void |
onTiltOnEndOvershoot(float angle)
The method, which is invoked, when the tabs should be tilted when overshooting at the
end.
|
void |
onTiltOnStartOvershoot(float angle)
The method, which is invoked, when the tabs should be tilted when overshooting at the
start.
|
onCancelFling, onClick, onDrag, onFling, onPressEnded, onPressStarted, onRevertEndOvershoot, onRevertStartOvershoot, onSwipe, onSwipeEnded
void onStartOvershoot(float position)
position
- The position of the first tab in pixels as a Float
valuevoid onTiltOnStartOvershoot(float angle)
angle
- The angle, the tabs should be tilted by, in degrees as a Float
valuevoid onTiltOnEndOvershoot(float angle)
angle
- The angle, the tabs should be tilted by, in degrees as a Float
value