daimajia / daimajia/AndroidSwipeLayout

How to implement only one item swipe at a time (when one item is swiped, others are closed)?

Open
#358 11 comments 1 reaction 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'm using **RecyclerView** in my project and I added this library to show some options for every item in my list when swiped.

What I want to achieve is the following thing: when I swipe one item, if another one is already swiped, the other one is closed automatically. So I don't want to have two items swiped at a time.

I tried to follow the instructions found [**in this issue**](https://github.com/daimajia/AndroidSwipeLayout/issues/301) but the information is incomplete (there is no **ItemManger**, no **bindView** function for it).

Can someone provide a final working solution for this?

Thank you in advance!

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.