com.droidux.pack.commons.widget.RotarySelector.OnDialTriggerListener |
Interface definition for a callback to be invoked when the dial is "triggered" by rotating it one way or the other.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | LEFT_HANDLE | The dial was triggered because the user grabbed the left handle, and rotated the dial clockwise. | |||||||||
int | RIGHT_HANDLE | The dial was triggered because the user grabbed the right handle, and rotated the dial counterclockwise. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when the dial is triggered.
| |||||||||||
Called when the "grabbed state" changes (such as when
the user either grabs or releases one of the handles).
|
The dial was triggered because the user grabbed the left handle, and rotated the dial clockwise.
The dial was triggered because the user grabbed the right handle, and rotated the dial counterclockwise.
Called when the dial is triggered.
v | The view that was triggered |
---|---|
whichHandle | Which "dial handle" the user grabbed,
either LEFT_HANDLE , RIGHT_HANDLE .
|
Called when the "grabbed state" changes (such as when the user either grabs or releases one of the handles).
v | the view that was triggered |
---|---|
grabbedState | the new state: either NOTHING_GRABBED ,
LEFT_HANDLE_GRABBED , or RIGHT_HANDLE_GRABBED .
|