public class SwipeUtil
extends java.lang.Object
| 构造器和说明 |
|---|
SwipeUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
getReverseDirection(int direction)
return the reverse direction for the given direction
|
static void |
runInThreadPool(java.lang.Runnable runnable) |
public static void runInThreadPool(java.lang.Runnable runnable)
public static int getReverseDirection(int direction)
direction - the given direction, must be one of: SwipeConsumer.DIRECTION_LEFT
/SwipeConsumer.DIRECTION_RIGHT
/SwipeConsumer.DIRECTION_TOP
/SwipeConsumer.DIRECTION_BOTTOM