Android Guides | Samples

Android.Graphics.Drawables.Drawable.OnLevelChange Method

Override this in your subclass to change appearance if you vary based on level.

Syntax

[Android.Runtime.Register("onLevelChange", "(I)Z", "GetOnLevelChange_IHandler")]
protected virtual Boolean OnLevelChange (Int32 level)

Parameters

level

Remarks

Override this in your subclass to change appearance if you vary based on level.

[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