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

UnsupportedOperationException #86

Closed parthivikky closed 7 years ago

parthivikky commented 8 years ago

I was trying to implement this library into my project. I got the error "UnsupportedOperationException". I don't know why, this exception occurred. I could not go ahead.

palashgoel7 commented 8 years ago

I got the same error. My error existed in getSelectedView() function. I then commented out the line throw new UnsupportedOperationException(). It seems to work fine now.

kikoso commented 7 years ago

Fixed