Join Slack
Powered by
<Kotlin: Type mismatch: inferred type is android.a...
# stackoverflow
r
rss
07/13/2023, 7:11 PM
Kotlin: Type mismatch: inferred type is android.app.Instrumentation.ActivityResult! but androidx.activity.result.ActivityResult! was expected
I'm pretty new to kolin. I am currently trying to start a activity for a result by using the registerForActivityResult API. I tried the method given by
this
post. But when I run it in the main activity it results in Type mismatch: inferred type is android.app.Instrumentation.ActivityResult! but androidx.activity.result.ActivityResult! was expected. This looks like a false linking of the ActivityResult but idk. My dependencies look...
3
Views
Open in Slack
Previous
Next