7 comments (7 comments)0 reactions (0 reactions)0 assignees (0 assignees)Java5,544 stars (5,544 stars)1,095 forks (1,095 forks)batch import
help wanted
Description
侧滑删除,加删除确认弹窗,点击确认,执行删除,删除的位置会错乱!
Contributor guide
- Tech stack
- javaandroid
- Domain
- mobile
- Issue type
- bug
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 3
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- 1-3 hours
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- stale
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- mostly clear
- Prerequisites
- Android development basicsRecyclerView fundamentalsUnderstanding of item deletion patterns
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 35
- Research direction
- Investigate the swipe to delete logic in the library, specifically the method handling deletion confirmation and subsequent adapter notification. Check the SwipeRecyclerView class and its adapter for item removal. The bug likely occurs because the item position is not updated correctly after deletion, perhaps due to incorrect usage of notifyItemRemoved or index calculations. Review any existing comments on the issue for additional clues, and consider testing with a minimal reproduction to isolate the problem.