Mark
05/10/2026, 9:08 AMKey FooRoute(...) was used multiple times because the list/detail can sometimes show the same content on both sides. This is because of the nature of navigation in my app - just think of a cyclic graph. How to overcome this? One idea, I guess, is to first check if the route is already in the backstack and, if so, just pop to that.Ian Lake
05/10/2026, 5:54 PMMark
05/11/2026, 12:07 AMIan Lake
05/11/2026, 12:09 AMcontentKey is that keyMark
05/11/2026, 12:09 AMIan Lake
05/11/2026, 12:12 AMbackStack.contains(newKey) would always return false) if you did want to do fancier back stack logicIan Lake
05/11/2026, 12:13 AMMark
05/11/2026, 12:13 AMIan Lake
05/11/2026, 12:15 AMcontentKey of the entry, so multiple entries with the same contentKey would all share the same state - the same scroll position, the same ViewModels, etc.Mark
05/11/2026, 12:16 AMIan Lake
05/11/2026, 12:29 AMMark
05/11/2026, 9:45 AMList and so this kind of implies that items can appear more than once.