I am trying to work on bringing my Android code up to standard with the guidance given here – Encapsulate your navigation code However, I don’t have the toRoute
method mentioned. I do some digging and I find it is added in an alpha version of its library: Navigation Version 2.8.0-alpha08. I would like to stay away from using prerelease versions in my production code, so I’d like to work off similar guidance that is against a previous version – in this case, the latest stable version. I’d like to think that exists somewhere, but so far I am not having any luck finding it.
I know it is possible to select which version of docs I’m seeing in the Android SDK proper; I know this is a Jetpack Compose library, and not the Android SDK; and I know I’m asking about guides rather than the formal API reference. Maybe it doesn’t make as much sense to ask for any previous version’s documentation, but at least the latest stable (as of writing, 2.7.7)? Is it possible I might find that somewhere, if only for this Navigation library?