daimajia / daimajia/AndroidSwipeLayout

SwipeItemMangerImpl#closeItem(int) does not update ListView

Open
#103 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
12.3k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

This method doesn't seem to actually close the layout in the ListView. I'm having to do a workaround of:

```
MySwipeAdapter.this.closeItem(position);
swipeLayout.close();
```

I first have to close the item in the adapter to tell the manager to remove the saved position then manually close it myself.

A side feature would be nice where we can closeItem(int pos, boolean smooth) if we want a smooth close.

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.