47deg/android-swipelistview — pull request #140 by cnevinc (2014-05-06 14:04:16+00:00)
Title: fix #1 Incorrectly remembering swiped status bug

A user said when swiping a few items in the list, and then scrolling, new items seem to be swiped on random basis(https://github.com/47deg/android-swipelistview/issues/1)
After some time of research, I found that this behavior is by design. Suggested solution is at the end.

After the user swipe on an item, the generateRevealAnimate method in SwipeListViewTouchListener starts. And when animation end (onAnimationEnd is called), the TranslationX of front view persist. This is by design cause we want to keep the result of the animation on the screen. This is different behavior with the DevBytes that @ened listed: The problem didn't happen because of the animation run on the wrong item. Instead, the animation end correctly. The issue happened because the TranslactionX properties of the old(non-displayed) frontView persist.

So I suggest to solve the issue when user call getView() in the adapter, which there was a "recycle" method in it. So I leverage that and reset the property of frontView's TranslationX there.