Android.Graphics.Drawables.AnimatedStateListDrawable.AddState Method
Add a new drawable to the set of keyframes.

Syntax

[Android.Runtime.Register("addState", "([ILandroid/graphics/drawable/Drawable;I)V", "GetAddState_arrayILandroid_graphics_drawable_Drawable_IHandler")]
public virtual void AddState (int[] stateSet, Drawable drawable, int id)

Parameters

stateSet
An array of resource IDs to associate with the keyframe
drawable
The drawable to show when in the specified state, may not be null
id
The unique identifier for the keyframe

Remarks

Add a new drawable to the set of keyframes.

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0