Android Guides | Samples

Android.Graphics.Drawables.Drawable.SetCallback Method

Bind a ICallback object to this Drawable.

Syntax

[Android.Runtime.Register("setCallback", "(Landroid/graphics/drawable/Drawable$Callback;)V", "")]
public Void SetCallback (Drawable+ICallback cb)

See Also

Parameters

cb
The client's Callback implementation.

Remarks

Bind a ICallback object to this Drawable. Required for clients that want to support animated drawables.

[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