toggleVisibility

fun View.toggleVisibility(goneOnHide: Boolean = true)(source)