fix single mode not close bug

This commit is contained in:
daimajia 2014-09-17 23:12:58 +08:00
parent 9e965d7c38
commit c3c583090f
1 changed files with 2 additions and 0 deletions

View File

@ -189,6 +189,8 @@ public abstract class SwipeAdapter extends BaseAdapter {
public void onClose(SwipeLayout layout) {
if(mode == Mode.Multiple){
mOpenPositions.remove(position);
}else{
mOpenPosition = INVALID_POSITION;
}
}