Bagikan melalui


Drawable.SetCallback(Drawable+ICallback) Method

Definition

Bind a Callback object to this Drawable.

[Android.Runtime.Register("setCallback", "(Landroid/graphics/drawable/Drawable$Callback;)V", "")]
public void SetCallback (Android.Graphics.Drawables.Drawable.ICallback? cb);
[<Android.Runtime.Register("setCallback", "(Landroid/graphics/drawable/Drawable$Callback;)V", "")>]
member this.SetCallback : Android.Graphics.Drawables.Drawable.ICallback -> unit

Parameters

cb
Drawable.ICallback

The client's Callback implementation.

Attributes

Remarks

Java documentation for android.graphics.drawable.Drawable.setCallback(android.graphics.drawable.Callback).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also