Optimizing OCFileListAdapter to Prevent Redundant Calls and Improve Performance
Open
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
Assessment
This issue has not been assessed yet.