SyntaxFix
Write A Post
Hire A Developer
Questions
There is also an option to use Handler -> postDelayed
Handler -> postDelayed
Handler().postDelayed({ //doSomethingHere() }, 1000)