daimajia / daimajia/AndroidSwipeLayout

onOpen is called multiple time

Open
#390 2 comments 8 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
12.3k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

Hello,

I think that there is a bug which hasn't solved yet. I try to swipe my ListItem at sometimes when I swipe a ListItem the onOpen is called multiple times and the "position" value is different. So the problem is that I cannot remove this item from my list.

`viewHolder.swipeLayout.addSwipeListener(new SimpleSwipeListener() {

```
@Override
public void onOpen(SwipeLayout layout) {

mItemManger.closeAllExcept(layout);
Log.v("Position",""+position);

}

});`
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.