CardStackView icon indicating copy to clipboard operation
CardStackView copied to clipboard

position causes data error

Open JHwangxiaotian opened this issue 6 years ago • 0 comments

I used it in a production .But produced a very common and very serious error

My data is dynamic,and click next or previous request new data, When the data request is successful,update list。then auto call cardStackView.swipe() or cardStackView.rewind(). New data is updated based on old data.

Performing the same operation many times will cause an error in position.. manager.getTopPosition() is error,,

Most of them appear when you click Next all the time, then suddenly click Previous,getTopPosition is next position instead of current position 。。。

I can hardly reproduce it, but this problem does exist in the production APP。

I hope to be helped

JHwangxiaotian avatar Nov 29 '19 05:11 JHwangxiaotian