Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public interface SwipeDeck.SwipeListener
Told when a card leaves the deck.
Methods
public abstract void cardSwiped(Component card, int direction) | A card was swiped away. |
Method details
cardSwiped
public abstract void cardSwiped(Component card, int direction)A card was swiped away.
Parameters
cardComponent- the card that left
directionint#LEFT,#RIGHTor#UP