In addition to manually selecting files, we want to be able to go backwards to the previously selected file and that before and so on. In a similar way, we want to be able to move forwards again. The new NavigationStack doesn't seem suited for that.
Instead, maybe we can explicitly keep track of the selection history and have two buttons to move back and forth through that history, where any back and forth movement updates the selection property of the view model.
In addition to manually selecting files, we want to be able to go backwards to the previously selected file and that before and so on. In a similar way, we want to be able to move forwards again. The new
NavigationStackdoesn't seem suited for that.Instead, maybe we can explicitly keep track of the selection history and have two buttons to move back and forth through that history, where any back and forth movement updates the
selectionproperty of the view model.