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)
How to define a task, run it in the future, and cancel it using Kotlin coroutines
I'm new to kotlin Coroutines. I define a Runnable and call it asynchronously in a function using Handler with a delay. The important thing is that the previous task must be canceled before each call s...
Hussein Yaqoobi
Votes: 0
Answers: 1
UI changes in a thread in android
I'm writing an android application that require me to hold the foreground of an Image Button for a second before changing it again. so I have written the code below (it worked on changing the colors o...
moustafa
Votes: 0
Answers: 1
I can not stop a Runnable using Handler in JAVA
I am trying to build a stopwatch and i have a button named start which starts the counting, after it starts the name of the button changes to stop and when i press stop i want to pause the counting, b...
Mihai Cozma
Votes: 0
Answers: 2
Does handler belong to thread in which it was created?
I'm relatively new to the "Looper-Handler" term. I'm pretty clear with the way they work but still confused with their architecture.
I've also gone through couple of SO questions, but still ...
stardep
Votes: 0
Answers: 1