Have anyone tried nav3 on destkop with the new rel...
# compose-desktop
r
Have anyone tried nav3 on destkop with the new release (1.0.0-alpha08) ? I keep getting
No NavigationEventDispatcher was provided via LocalNavigationEventDispatcherOwner
seems like they have duplicate code between NavigationEvent & Nav3-UI.
LocalNavigationEventDispatcherOwner
exist in both dependency, but is internal in Nav3-UI so I can't provide it. And on desktop it's returning null since ViewTree doesn't exist. https://issuetracker.google.com/issues/442273695
๐Ÿ‘€ 1
โž• 2
a
I have the same problem +1
d
Yep, the composition local is internal and the desktop version of the function returns null. So I had to make my own copy of NavDisplay and strip it from that to make it work... ๐Ÿ˜†
g
Yes I've seen this as well, waiting for an official fix
r
LocalNavigationEventDispatcherOwner
from nav3 has been deleted in alpha-09. And JetBrains plan to deliver a first version of nav3 with 1.10.
๐ŸŽ‰ 4
g
Can't wait for 1.10 ๐Ÿ˜„
d
Same ๐Ÿ˜›
c
1.10.0-alpha01 was released yesterday!
๐ŸŽ‰ 3
w
@Colton Idle But do we still have to wait for androidx.navigation-runtime's alpha09 to solve this problem?
r
Until they provide NavigationEventDispatcher desktop yes