Drawable.GetConstantState Método

Definición

Devuelve una ConstantState instancia que contiene el estado compartido de este drawable.

[Android.Runtime.Register("getConstantState", "()Landroid/graphics/drawable/Drawable$ConstantState;", "GetGetConstantStateHandler")]
public virtual Android.Graphics.Drawables.Drawable.ConstantState? GetConstantState();
[<Android.Runtime.Register("getConstantState", "()Landroid/graphics/drawable/Drawable$ConstantState;", "GetGetConstantStateHandler")>]
abstract member GetConstantState : unit -> Android.Graphics.Drawables.Drawable.ConstantState
override this.GetConstantState : unit -> Android.Graphics.Drawables.Drawable.ConstantState

Devoluciones

ConstantState asociado a ese objeto Drawable.

Atributos

Comentarios

Java documentación para android.graphics.drawable.Drawable.getConstantState().

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

Consulte también