python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Why does collecting this Flow not terminate?
As part of practicing coroutines and flow, I tried an implementation of RxJava's amb/race operator where I don't allow myself to use channels directly. Or, to put it differently, I use shareIn (Share...
Julian A.
Votes: 0
Answers: 0
ExecutorService analog in Kotlin
I have a piece of Java code that uses ExecutorService. I need to convert this code to Kotlin using coroutines. I tried using GlobalScope.launch() which did work but very differently. In Java code ther...
Klims
Votes: 0
Answers: 1
How to cancel SupervisorJob based on the type of exception thrown by the child coroutine
I have a supervisor that launches some children coroutines
supervisorScope {
aListOfJobs.forEach { job -> launch(handler) { process(job) } }
}
}
Where ha...

GenericDeveloperProfile
Votes: 0
Answers: 2
How to do API call in for loop in android?
How we can perform same API call in for loop of array list of object :
private var emergencyContacts: ArrayList<Contact> = ArrayList()
emergencyContacts.forEach
{
contactsViewMo...

vyas dipak
Votes: 0
Answers: 2