baoyongzhang / baoyongzhang/SwipeMenuListView

和下拉刷新一起使用的时候有冲突

Open
#103 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.5k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

当在list的顶部时,左滑删除失效
从底部开始逐条往上删除,后来被显示出来的View会出现menu没有没被关闭的情况
我开始怀疑是不是convertView展示了之前的View,而之前的view在删除的时候没有把menu关闭,
但是onMenuItemClick中我return的是false
当我return true的时候就没有这种情况

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the onMenuItemClick handling and ListView convertView reuse described in the issue. Reproduce the conflict with pull-to-refresh while deleting items from the top and bottom; done when top-level swipe deletion works and recycled views do not retain an open menu.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.