Hello there
I'm using Voyager for the navigation in the KMP, I'm trying to navigate to a screen from a tab and its crashing with following error:
java.lang.ClassCastException: screens.home.CardsScreen cannot be cast to cafe.adriel.voyager.navigator.tab.TabCan anyone tell me how to resolve this error?
j
Jacob Ras
05/10/2024, 8:01 AM
The issue is that you're trying to open a screen that isn't a Tab, but the current active navigator is a Tab navigator. What you can do is wrap your current screen in a