Android Guides | Samples

Android.Graphics.Drawables.Drawable.OnStateChange Method

Override this in your subclass to change appearance if you recognize the specified state.

Syntax

[Android.Runtime.Register("onStateChange", "([I)Z", "GetOnStateChange_arrayIHandler")]
protected virtual Boolean OnStateChange (Int32[] state)

Parameters

state

Remarks

Override this in your subclass to change appearance if you recognize the specified state.

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1