com.operators.swipes
Interface SwipesView.OnSwipeListener

Enclosing class:
SwipesView

public static interface SwipesView.OnSwipeListener

Listener that updates on swipe threshold and direction.


Method Summary
 void onDirectionSwipe(View card, SwipesView.Directions direction)
          Provides updates on swipe direction, but is not a callback for successful swipes.
 void onSuccessfulSwipe(View card, SwipesView.Directions direction)
          Provides updates on successful swipes with direction.
 void onThresholdChange(View card, float threshold)
          Provides updates on swipe threshold.
 

Method Detail

onThresholdChange

void onThresholdChange(View card,
                       float threshold)
Provides updates on swipe threshold.


onDirectionSwipe

void onDirectionSwipe(View card,
                      SwipesView.Directions direction)
Provides updates on swipe direction, but is not a callback for successful swipes.


onSuccessfulSwipe

void onSuccessfulSwipe(View card,
                       SwipesView.Directions direction)
Provides updates on successful swipes with direction.