fix single mode not close bug
This commit is contained in:
parent
9e965d7c38
commit
c3c583090f
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue