damontecres / StashAppAndroidTV

Android TV App for Stash
GNU Affero General Public License v3.0
77 stars 4 forks source link

[FEA] - Move between images #182

Closed damontecres closed 6 months ago

damontecres commented 6 months ago

Description

Follow up from #173

Problem

Investigate the ability to move between images directly instead of having to go back and forth with the list.

I'm not sure how this would be implemented because right now every card is populate independently. So now this feature would require some shared state.

Potential solutions

First

Perhaps pass this information to the ImageActivity:

Then when an image is shown, it immediately knows about it's previous/next and can start them. Then that new one can use the filter details to calculate the new next?

Second

Reimplement the ImageActivity as a fragment and just swap fragments to navigate between images. This means the parent has the list (or paging list) of images and can swap the fragments as needed.

This also could be just swapping the ImageView instead of fragments?