Drawable.ICallback Drawable.ICallback Interface


Implement this interface if you want to create an animated drawable that extends Drawable.

[Android.Runtime.Register("android/graphics/drawable/Drawable$Callback", "", "Android.Graphics.Drawables.Drawable/ICallbackInvoker", ApiSince=1)]
public interface Drawable.ICallback : Android.Runtime.IJavaObject, IDisposable
type Drawable.ICallback = interface
    interface IJavaObject
    interface IDisposable


Android platform documentation

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.


InvalidateDrawable(Drawable) InvalidateDrawable(Drawable)

Called when the drawable needs to be redrawn.

ScheduleDrawable(Drawable, IRunnable, Int64) ScheduleDrawable(Drawable, IRunnable, Int64)

A Drawable can call this to schedule the next frame of its animation.

UnscheduleDrawable(Drawable, IRunnable) UnscheduleDrawable(Drawable, IRunnable)


Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Applies to