visibility

Function

Android
fun GlanceModifier.visibility(visibility: Visibility) = this.then(VisibilityModifier(visibility))

Change the visibility of the current node.

Parameters

visibilityNew visibility of the node.