Generalize FileListAdapter parts
Open
approved
feature: files
technical debt
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 92
Description
At the moment The FileListListAdapter and the LocalFileListAdapter offer to render the file listing as a list or grid (with a special threatment of images/videos). Right now the code to pick and configure the list and grid item are code duplicates.
This issue is for discussion and solution finding. The "problem" here is that at the moment the local adapter works with a collection of File, while the FileListList adapter works with a collection of OCFile, so some calls differ, most do not.
Contributor guide
Assessment
This issue has not been assessed yet.