public class FlingCardListener
extends java.lang.Object
implements android.view.View.OnTouchListener
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
FlingCardListener.FlingListener |
| Constructor and Description |
|---|
FlingCardListener(SwipeCardView parent,
android.view.View frame,
java.lang.Object itemAtPosition,
FlingCardListener.FlingListener flingListener) |
FlingCardListener(SwipeCardView parent,
android.view.View frame,
java.lang.Object itemAtPosition,
float rotation_degrees,
FlingCardListener.FlingListener flingListener) |
| Modifier and Type | Method and Description |
|---|---|
float |
bottomBorder() |
android.graphics.PointF |
getLastPoint() |
boolean |
isTouching() |
float |
leftBorder() |
void |
onSelectedX(boolean isLeft,
float exitY,
long duration) |
boolean |
onTouch(android.view.View view,
android.view.MotionEvent event) |
float |
rightBorder() |
void |
selectBottom() |
void |
selectLeft() |
void |
selectRight() |
void |
selectTop() |
void |
setRotationDegrees(float degrees) |
float |
topBorder() |
public FlingCardListener(SwipeCardView parent, android.view.View frame, java.lang.Object itemAtPosition, FlingCardListener.FlingListener flingListener)
public FlingCardListener(SwipeCardView parent, android.view.View frame, java.lang.Object itemAtPosition, float rotation_degrees, FlingCardListener.FlingListener flingListener)
public boolean onTouch(android.view.View view,
android.view.MotionEvent event)
onTouch in interface android.view.View.OnTouchListenerpublic float leftBorder()
public float rightBorder()
public float bottomBorder()
public float topBorder()
public void onSelectedX(boolean isLeft,
float exitY,
long duration)
public void selectLeft()
public void selectRight()
public void selectTop()
public void selectBottom()
public void setRotationDegrees(float degrees)
public boolean isTouching()
public android.graphics.PointF getLastPoint()