https://kotlinlang.org logo
#compose
Title
# compose
n

Noop

04/17/2022, 6:59 AM
If I use rememberNavController()
Copy code
val navController = rememberNavController()
error then below
java.lang.IllegalStateException: 2. expected value parameter count to be higher: rememberNavController()
what’s the problem?
j

James Black

04/17/2022, 5:39 PM
What version of jetpack compose are you using? You may want to read the comments in this post and see if the ideas present help you with your issue, as I can't duplicate what is troubling you. https://stackoverflow.com/questions/71040993/java-lang-illegalstateexception-expected-value-parameter-count-to-be-higher-re
n

Noop

04/19/2022, 8:59 AM
My answer: kotlinCompilerExtensionVersion to 1.1.1, classpath ‘org.jetbrains.kotlinkotlin gradle plugin1.6.10’
26 Views