Isaac Udy
03/24/2020, 7:26 AMio.khimera.example.weather.SplashScreenViewModelKt$splashScreenRouter$1$1 cannot be cast to kotlin.jvm.functions.Function2
fun <T> withView(view: T) where T:(@Composable() (VM) -> Unit) {
if (this.view != null) throw IllegalStateException("Route already has view")
this.view = view
}
...
withView(::SplashScreen)
romainguy
03/24/2020, 2:39 PMLeland Richardson [G]
03/24/2020, 2:57 PM