As the title, is there any way to call a function after delay (1 second for example) in Kotlin?
Kotlin
There is also an option to use Handler -> postDelayed
Handler -> postDelayed
Handler().postDelayed({ //doSomethingHere() }, 1000)
2.1m questions
2.1m answers
60 comments
56.9k users