nextcloud / nextcloud/android

Optimizing OCFileListAdapter to Prevent Redundant Calls and Improve Performance

Open
#13,614 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

The OCFileListAdapter.swapDirectory() is responsible for displaying files, but it gets called multiple times, causing performance issues and unnecessary loading state changes.

It should load once when the file list is ready, and notifyDataSetChanged() should be called only one time.

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.