Login
You're viewing the discuss.systems public feed.
  • Nov 14, 2025, 3:15 PM

    @ianlake hey, I'm having a huge issue here and I thought to just go direct to the source for help :) I hope it's OK.

    I'm trying to: navCtrl.currentBackStackEntryFlow.collect{ it.toRoute<Destination>() }
    (Destination being a sealed class I use for navigation).

    And no matter what I try, I always get "Polymorphic value has not been read for class null". Seems like the RouteDecoder store never has the currentName.

    Any ideas? Is it even possible to get the route from the backstack entry?

    💬 0🔄 0⭐ 0