yuyakaido / CardStackView

📱Tinder like swipeable card view for Android
Apache License 2.0
2.36k stars 448 forks source link

Implementation of animateScaleWhileSwiping #329

Closed HE-LU closed 4 years ago

HE-LU commented 4 years ago

@yuyakaido I am using this library on my project, and I came across very specific issue. Our design was incompatible with the card scaling animation, as when the top card was getting scrolled, the bottom one was resizing. This tiny PR would resolve this for us. I would be really glad for seeing this going live in a next release :pray:

HE-LU commented 4 years ago

This can actually be solved by setting:

CardStackLayoutManager.setScaleInterval(0.95f)

Closing. My bad.