I'm using AndroidX Navigation 2.7.0-alpha07 in my ...
# multiplatform
y
I'm using AndroidX Navigation 2.7.0-alpha07 in my Compose Multiplatform app. How do I fix unresolve reference ID issue?
h
try
2.8.0-alpha09
y
Thanks, I updated the library and the issue is resolved. but why the documentation is not updated?
i
Originally
id
is about integer for Android XML resource, it's not support on multiplatform. For 2.8 it was ported as part of type-sage args support, but explicitly marked for internal usage and is not part of common API. Applications are NOT supposed to use it. For compose navigation unique id is
route
(in original Android Google's library too,
id
is just
hashCode()
from route for compatibility)
but why the documentation is not updated?
2.8.x is requires Compose Multiplatform 1.7 (stable version is not released yet)
👍 1