Udostępnij za pośrednictwem


View.IsVisibleToUserForAutofill(Int32) Method

Definition

Computes whether this virtual autofill view is visible to the user.

[Android.Runtime.Register("isVisibleToUserForAutofill", "(I)Z", "GetIsVisibleToUserForAutofill_IHandler", ApiSince=28)]
public virtual bool IsVisibleToUserForAutofill (int virtualId);
[<Android.Runtime.Register("isVisibleToUserForAutofill", "(I)Z", "GetIsVisibleToUserForAutofill_IHandler", ApiSince=28)>]
abstract member IsVisibleToUserForAutofill : int -> bool
override this.IsVisibleToUserForAutofill : int -> bool

Parameters

virtualId
Int32

Returns

Whether the view is visible on the screen.

Attributes

Remarks

Computes whether this virtual autofill view is visible to the user.

<b>Note: </b>By default it returns true, but views providing a virtual hierarchy view must override it.

Java documentation for android.view.View.isVisibleToUserForAutofill(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