Compartilhar via


VisibilitySetterAction.Builder(Int32, ViewStates) Constructor

Definition

Creates a new builder for an action that change the visibility of one child view.

[Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=29)]
public Builder (int id, Android.Views.ViewStates visibility);
[<Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=29)>]
new Android.Service.Autofill.VisibilitySetterAction.Builder : int * Android.Views.ViewStates -> Android.Service.Autofill.VisibilitySetterAction.Builder

Parameters

id
Int32

view resource id of the children view.

visibility
ViewStates

one of View#VISIBLE, View#INVISIBLE, or View#GONE.

Attributes

Remarks

Creates a new builder for an action that change the visibility of one child view.

Java documentation for android.service.autofill.VisibilitySetterAction.Builder.VisibilitySetterAction$Builder(int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to