nextcloud / nextcloud/android

Limit getFolderContent for File Listing

Open
#15,354 0 comments 2 reactions 2 assignees Claimed by @tobiasKaminsky View on GitHub
enhancement hotspot: larger folder handling performance 🚀
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### How to use GitHub

* Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are interested into the same feature.
* Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
* Subscribe to receive notifications on status change and new comments.

Currently, `FileDao.getFolderContent` retrieves all `FileEntity` records from the database, and it used for file listing. Instead, for file listing it should only fetch the first n visible items, with additional items loaded via scroll functionality on demand.

This will improve performance and reduce unnecessary data loading.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.