nextcloud / nextcloud/android

Generalize FileListAdapter parts

Open
#318 2 comments 0 reactions 0 assignees View on GitHub
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

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.