showIf

fun View.showIf(boolean: Boolean, makeInvisible: Boolean = false)

will show the view If Condition is true else make if INVISIBLE or GONE Based on the makeInvisible flag