haiwen / seadroid

Android client for Seafile
Other
541 stars 277 forks source link

[Improvement] Maintain path between tab switches and app launches #1036

Open working-name opened 1 week ago

working-name commented 1 week ago

Problem description: I often use favorites to get me to a top level path of an intended sub-folder, which is faster than navigating through the default view, from the pre-libraries path. However, once I switch tabs, and then come back to the favorites tab, my initial navigation progress is lost, and I'm presented with the list of favorites again. This makes using the app cumbersome and time consuming. Likewise, if I return to the main tab, again, back to the list of available libraries.

At the same time, it would be immensely useful to have the application return to the path it was previously navigated to upon re-starting it (either closed by user, or closed by the Android OS).

Expected behavior: I would like the application to retain its current view on a per-tab basis, and persist the path across app launches and OS reboots.

Alternatives considered: Using favorites, but that can only apply to a parent folder with a fluid naming scheme that is temporal. In other words, I'd spend an inordinate amount of time adding things to favorites and removing others.

Thanks for considering this.

zhwanng commented 5 days ago