How to Fix startActivityForResult() is Deprecated In Android In Kotlin
I am Working on a Android App in Kotlin there is payment functionality which is in a main ui thread in a activity but i want to create a separate activity for payment and use coroutines for handling it in other Ui thread, I am using intent filters to pass data from this activity to my payment activity but this is deprecated startActivityForResult() How can i Fix this help me please here is little of my code snippet.
fun onClickJoin(view: View) {
if...