inline fun Handler.postAtTime(uptimeMillis: Long, token: Any? = null, crossinline action: () -> Unit): Runnable
Version of Handler.postAtTime which re-orders the parameters, allowing the action to be placed outside of parentheses.
handler.postAtTime(200) {
doSomething()
}
token
- An optional object with which the posted message will be associated.
Return
the created Runnable