setVisibility

open override fun setVisibility(visibility: Int)

visibility changes must be applied separately to the activity view.