A native library providing a Tinder-like cards effect. A card can be constructed using an image and displayed with animation effects, dismiss-to-like and dismiss-to-unlike, and use different sorting mechanisms.
For the code
card.setOnCardDimissedListener(new CardModel.OnCardDismissedListener(){
@Override
public void onLike() {
Log.d("Swipeable Card", "I liked it");
}
@Override
public void onDislike() {
Log.d("Swipeable Card", "I did not liked it");
}
});
It shows error message "cannot resolve symbol 'onCardDismissedListener'.
I get an error at the same position, it reads "Interface OnCardDimissedListener does not have constructors". Did anyone alr find a solution/workaround for these code lines?
For the code card.setOnCardDimissedListener(new CardModel.OnCardDismissedListener(){ @Override public void onLike() { Log.d("Swipeable Card", "I liked it"); }
It shows error message "cannot resolve symbol 'onCardDismissedListener'.