47deg/android-swipelistview — pull request #156 by vincentbrison (2014-06-29 22:09:38+00:00)
Title: Several fixes for dismiss functions :

- Pressed state are now correctly cleaned. (Bug was occurring when dismiss a view from its backview. When recycling this view, it still have its pressed state at true). (SwipeListView l. 238)
- Correcting update of the model when using dismiss function. (Bug was occurring when a view was dismiss with its backview revealed. After a dismiss, the recycle view would still have its backview revealed). (SwipeListViewTouchListener l. 382)
- Correcting the recycling of a view. The function reloadSwipeStateInView was not updating the view according the model (opened, and openedRight). Moreover, the function was using unsupported function for API < 11 (setTranslation on view). Replacing this call with support call fro API <11. (SwipeListViewTouchListener l. 416)
- Disabling user interaction on view with dismiss animation. Could leads into unexpected behavior. For example, the backview could have a button which trigger the dismiss of the view. If the view is still clickable, the user can still send input which will trigger unexpected dismiss. (SwipeListViewTouchListener l. 998)
- Add some Javadocs.