mancj / mancj/MaterialSearchBar
Cannot delete first item of suggestions
Open
- Dominant language
- Java
- Stars
- 2k
- Forks
- 324
- PR merge metrics
- No merged PRs in 30d
Description
Correct your default suggestion adapter code
cannot delete the first item of suggestions list.
In the code of iv_delete.setOnClickListener it should be pos >=0 instead of pos > 0
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in the default suggestion adapter at iv_delete.setOnClickListener and inspect the position check for deleting suggestions. Done means the first suggestion can be deleted, while deletion of other suggestions continues to work as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100