Chris Johnson
02/26/2026, 6:02 PMA -> B -> C -> A. Where the 2nd A is a new instance. In this case the rememberSaveable value persists. We found out that's because it's not a new instance of A on the stack. The key we added to the stack did not change any parameters so when the NavEntry compares them using the classes' toString() method they are equal. We can easily override that method or add a random UUID parameter to the screens we want to have new instances but that feels hacky. I was wondering if there is something I'm missing in nav3 that will treat every key entry as unique regardless if that classes's parameters have changed or not.Chris Johnson
02/26/2026, 6:17 PMentry<NewsKey.News>(clazzContentKey = { UUID.randomUUID().toString() }Ian Lake
02/26/2026, 7:32 PMcontentKey is the unique key for all state so entries in the back stack that share the same contentKey will indeed have the same state. Adding a UUID is a good way of making sure each instance is unique