com.droidux.pack.commons.widget.SlidingTab.OnTriggerListener |
Interface definition for a callback to be invoked when a tab is triggered by moving it beyond a threshold.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | LEFT_HANDLE | The interface was triggered because the user grabbed the left handle and moved it past the threshold. | |||||||||
int | NO_HANDLE | The interface was triggered because the user let go of the handle without reaching the threshold. | |||||||||
int | RIGHT_HANDLE | The interface was triggered because the user grabbed the right handle and moved it past the threshold. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when the "grabbed state" changes (i.e.
| |||||||||||
Called when the user moves a handle beyond the threshold.
|
The interface was triggered because the user grabbed the left handle and moved it past the threshold.
The interface was triggered because the user let go of the handle without reaching the threshold.
The interface was triggered because the user grabbed the right handle and moved it past the threshold.
Called when the "grabbed state" changes (i.e. when the user either grabs or releases one of the handles.)
v | the view that was triggered |
---|---|
grabbedState | the new state: NO_HANDLE , LEFT_HANDLE ,
or RIGHT_HANDLE .
|
Called when the user moves a handle beyond the threshold.
v | The view that was triggered. |
---|---|
whichHandle | Which "dial handle" the user grabbed,
either LEFT_HANDLE , RIGHT_HANDLE .
|