Check out example codes for "handler in kotlin to delay". It will help you in understanding the concepts better.

Code Example 1

Handler().postDelayed({
 //doSomethingHere()
 }, 1000)

Code Example 2

// Import
import android.os.Handler;

// Use
val handler = Handler()
handler.postDelayed({
     // do something after 1000ms
}, 1000)

Learn ReactJs, React Native from akashmittal.com