Drawable.GetState Drawable.GetState Method

Definition

Describes the current state, as a union of primitve states, such as R attr state_focused, R attr state_selected, etc.

[Android.Runtime.Register("getState", "()[I", "GetGetStateHandler")]
public virtual int[] GetState ();
abstract member GetState : unit -> int[]
override this.GetState : unit -> int[]

Returns

Int32[]

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