I want to display multiple windows in a queue after some wait time. So what is the best way to implement the same?
- ThreadPoolExecutor
- FutureTask
- Coroutines or any other way in Kotlin?
I want to display multiple windows in a queue after some wait time. So what is the best way to implement the same?
Coroutines would be my first choice.
launch {
delay(1000)
displayWindow()
}