doOnPreDraw
inline fun View.doOnPreDraw(crossinline action: (view: View) -> Unit): OneShotPreDrawListener(source)
Performs the given action when the view tree is about to be drawn.
The action will only be invoked once prior to the next draw and then removed.