New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash with Jetpack Compose Alpha07 #46
Comments
I'm getting this too I tried cloning and updating to alpha07 and I can get it to compile, but when navigation changes I am seeing TableSlot errors. Maybe we should be using https://developer.android.com/jetpack/compose/navigation nowadays anyway? |
Hello @johnnycube @CaelumF ! I've updated the library for alpha07 in #47 and released as 0.22.0. I couldn't reproduce the errors you reported – the sample apps work just fine with the same looking code. Note that they've rewritten the slot table impl, so you might need a clean rebuild cycle for the errors to go away. Please let me know how it goes. |
I can confirm that updating the library and rebuilding the project is working. I cannot comment on what did the trick though. |
I am pretty sure that the error originally in this issue is just because compose-router was using an older compose, and the issue I was getting was actually a separate alpha07 issue involving onClick that I haven't narrowed down yet. Nice one @zsoltk ! FYI I looked deeper into using compose-navigation and it seems a lot more complicated than this is (and currently android-specific) so thanks again for providing this :) @johnnycube no need to keep the issue open on my behalf anymore if there's nothing else outstanding |
Version of Jetpack Compose: alpha07
Version of Compose router: 0.21.0
The following runtime error is thrown
Usage of router (excerpt)
Sadly I couldn't solve it quickly, hence I wanna report it.
The text was updated successfully, but these errors were encountered: