do something for 2 seconds kotlin andrid code example Example: andoird kotlin delay Handler().postDelayed({ //doSomethingHere() }, 1000)