create handler in kotlin code example Example: handler kotlin Handler(Looper.getMainLooper()).postDelayed({ }, 3000)