nextcloud / nextcloud/talk-android
duplicated items in SharedItemsActivity
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 739
- Forks
- 321
- Avg merge
- 14h 59m
- Merged PRs (30d)
- 151
Description
Steps to reproduce
- open SharedItemsActivity
- scroll down fast and often (before next items are loaded)
issue:
the SharedItemsActivity shows duplicated images (or generally any items, i guess)
The actual number of loaded items is higher, so data is loaded multiple times and added to the result (so it's not a recycler view problem)
Testing:
can be tested on c.n.c. for the "nextcloud Internal" room. just scroll around and then images are duplicated..
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the SharedItemsActivity entry point and trace how rapid scrolling requests and appends the next items. Reproduce with the "nextcloud Internal" room on c.n.c. by scrolling before loading finishes, then verify that the loaded item count and displayed images contain no duplicates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100