deferWithViews

fun <T : View> T.deferWithViews(views: Views? = null, tryImmediate: Boolean = true, block: (views: Views) -> Unit): T

Registers a block that will be executed once in the next frame that this View is displayed with the Views singleton