Update SwipeListView.java
Update SwipeListView.java
Update SwipeListViewTouchListener.java
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.
Merge pull request #148 from yaming116/master

add debug model
Merge pull request #156 from vincentbrison/fix_dismiss

Several fixes for dismiss functions :
Update SwipeListViewTouchListener.java

Fix typo error. Build should now work correctly.
Fixing crash in SwipeListViewTouchListener

I configured my swipeListView as to have one cell to be swipable. Plus,
the user can open this one by long-press or swipe.

When opened, and trying to long-press on the front view it led to this
crash.
Crash in SwipeListViewTouchListener, issue #162

I configured my swipeListView as to have one cell to be swipable. Plus,
the user can open this one by long-press or swipe.

When opened, and trying to long-press on the front view it led to this
crash.
Merge pull request #157 from vincentbrison/patch-1

Update SwipeListViewTouchListener.java
code formatting
Merge pull request #163 from Tibolte/master

Fix for issue #162
Fixed Incorrect Position When Using Header Views

When you add header views to the list view, this is now taken into account when calculating the list position that gets passed to all the listeners / adapters.
naive fix open and close animmations NPE in touch listener
Merge pull request #169 from lnevermore/touch-listener-fling-NPE

naive fix open and close animations NPE in touch listener
Merge pull request #167 from jsonfry/master

Fixed Incorrect Position When Using Header Views
solved bug
bug solved: When the SwipeListView has the attribute swipeOnLongPress="none" disables the selection mode on long press
bug solved: When the SwipeListView has the attribute swipeOnLongPress="none" disables the selection mode on long press
Merge branch 'master' of https://github.com/thebestpol/android-swipelistview