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:
Previous image ID
Next image ID
Necessary filter details
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?
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?