Compartir a través de


View.GetDrawableState Method

Definition

Return an array of resource IDs of the drawable states representing the current state of the view.

[Android.Runtime.Register("getDrawableState", "()[I", "")]
public int[]? GetDrawableState ();
[<Android.Runtime.Register("getDrawableState", "()[I", "")>]
member this.GetDrawableState : unit -> int[]

Returns

Int32[]

The current drawable state

Attributes

Remarks

Return an array of resource IDs of the drawable states representing the current state of the view.

Java documentation for android.view.View.getDrawableState().

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

See also