python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Is there a way to know if your coroutine has been canceled from within a suspend function
I'm using a CoroutineWorker but all my business logic is a separate class which I start using a suspend function. I would prefer to keep all the logic in this class but I need to know if the work requ...

ExNatura
Votes: 0
Answers: 3
Using Coroutines inside splashscreen
Hi i have made my own splashscreen in jetpack compose and i want to be able to use coroutines.launch within this screen. Though when i try to do this i get an error and it tells me to import so i clic...
jens
Votes: 0
Answers: 1
Android Studio JSON obtain data
I am using this API as a test for obtaining JSON API data. I know how to obtain the data of one of the values "grnd_level" in "list".
Here is the code I used to obtain the "gr...
user17736479
Votes: 0
Answers: 2
Junit5 test is failed with mutableStateOf and coroutine
I have a ViewModel class:
@HiltViewModel
class MyViewModel @Inject constructor(
private val repo: Repo,
) : ViewModel() {
val id = mutableStateOf(TextFieldValue())
fun init(token: String...
yoonhok
Votes: 0
Answers: 1