RemoteViews.SetViewVisibility(Int32, ViewStates) RemoteViews.SetViewVisibility(Int32, ViewStates) Method

Definition

Equivalent to calling View.setVisibility

[Android.Runtime.Register("setViewVisibility", "(II)V", "GetSetViewVisibility_IIHandler")]
public virtual void SetViewVisibility (int viewId, Android.Views.ViewStates visibility);
abstract member SetViewVisibility : int * Android.Views.ViewStates -> unit
override this.SetViewVisibility : int * Android.Views.ViewStates -> unit

Parameters

viewId
Int32 Int32

The id of the view whose visibility should change

visibility
ViewStates ViewStates

The new visibility for the view

Remarks

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