fun View.expandIf(value: Boolean = false): Unit
Sets receiver's visibility to View.VISIBLE if value is true; sets it to View.GONE otherwise. Opposite of collapseIf; also see showIf.