Ramotion / cardslider-android

:octocat: 🃏 Cardslider is a material design UI controller that allows you to swipe through cards with pictures and accompanying descriptions.
https://www.ramotion.com/cardslider-android-ui-app-development-library-to-interact-with-cards/
MIT License
2.34k stars 358 forks source link

if set the cardsGap more bigger,the card scroll will be not smoothly #9

Closed GalyGiGi closed 6 years ago

GalyGiGi commented 7 years ago

Hi,the project is really cool,thank u all. i found a problem, i want to only show left cards in screen,so i set the cardsGap to a bigger number. but when i scroll cards,i found that when a cards x_coordinate scroll to the location of activeCardBottom, the card will suddenly move a large distance. i hope the card will move linearly all the time. Could u help me to solve this problem,thank u ~

GalyGiGi commented 7 years ago

i have solved this problem ,please check my pull request,please,thanks