fun View.toggleVisibleOrGone(): Unit
Toggles the View's visibility between View.GONE and View.VISIBLE. If View.getVisibility is View.VISIBLE, sets the visibility to View.GONE. Otherwise, including if visibility is View.INVISIBLE, sets the visibility to View.VISIBLE.
Therefore, this extension function should not be used if the View's visibility is intended to be View.INVISIBLE.