library / org.akop.kotx.ext.view / android.view.View / hideIf

hideIf

fun View.hideIf(value: Boolean): Unit

Sets receiver's visibility to View.INVISIBLE if value is true; sets it to View.VISIBLE otherwise. Opposite of showIf; also see collapseIf.