onPreDraw

inline fun <T : View> T.onPreDraw(crossinline func: T.() -> Unit)