afterMeasured

inline fun <T : View> T.afterMeasured(crossinline function: T.() -> Unit)

Extension method to remove the required boilerplate for running code after a view has been inflated and measured.