addTo

fun <T : View> T.addTo(parent: Container): T

Alias for parent += this. Refer to Container.plusAssign.


inline fun <T : View> T.addTo(instance: Container, callback: T.() -> Unit = {}): T