Upstream a way to get the previous visible fragment while always skipping the current one
Mugurell opened this issue · 1 comments
Mugurell commented
On Fenix - mozilla-mobile/fenix#27305 it was seen that it is possible to get into a situation where the current fragment has another one on top so a call to NavController.previousBackStackEntry
would skip the one on top and return the current fragment. Which is not the previous fragment wanted.
This is a good helper to have in Android-Components which can then be shared to multiple projects.
When added it can be part of support-ktx module.
┆Issue is synchronized with this Jira Task
csadilek commented
Moved to bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1795470
Change performed by the Move to Bugzilla add-on.