kikoso / Swipeable-Cards

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.
Apache License 2.0
1.48k stars 364 forks source link

Error for additional function #104

Open halflkaka opened 6 years ago

halflkaka commented 6 years ago

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'.

Laura477 commented 2 years ago

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?