zhanghai / zhanghai/MaterialFiles

[Feature Request] Add the ability to scroll through albums (image files) by swiping

Open
#1,577 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

Currently, you can view albums, open a picture, then all you can do is zoom until you close it using the back button and then open another picture. It would be great if you could just swipe left/right for next/previous picture in the folder when looking at individual pictures. For performance and compatibility, I'd keep it image file only, so jp(e)g, png, webp and gif, skipping videos, documents, audio and so on. Though videos depends on the impact it has on performance.

"Just use a gallery app?"

Yes, for files on my phone storage I already do, but that's not an option for pictures on a Samba/smb share or any kind of storage which requires the network capabilities of Material Files.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the image viewer entry point and how it enumerates files in a folder. Trace navigation for local and network-backed storage, then define completion as horizontal swipes opening the previous or next supported image while skipping videos and non-image files; verify behavior on both local folders and SMB shares.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.