Stay organized with collections
Save and categorize content based on your preferences.
Icon.OnDrawableLoadedListener
public
static
interface
Icon.OnDrawableLoadedListener
android.graphics.drawable.Icon.OnDrawableLoadedListener
|
Implement this interface to receive a callback when
loadDrawableAsync
is finished and your Drawable is ready.
Summary
Public methods
onDrawableLoaded
public abstract void onDrawableLoaded (Drawable d)
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# Icon.OnDrawableLoadedListener\n\nAdded in [API level 23](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nIcon.OnDrawableLoadedListener\n=============================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/graphics/drawable/Icon.OnDrawableLoadedListener \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nIcon.OnDrawableLoadedListener\n`\n\n\n`\n\n\n`\n\n|---------------------------------------------------------|\n| android.graphics.drawable.Icon.OnDrawableLoadedListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nImplement this interface to receive a callback when\n[loadDrawableAsync](/reference/android/graphics/drawable/Icon#loadDrawableAsync(android.content.Context,%20android.graphics.drawable.Icon.OnDrawableLoadedListener,%20android.os.Handler))\nis finished and your Drawable is ready.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onDrawableLoaded](/reference/android/graphics/drawable/Icon.OnDrawableLoadedListener#onDrawableLoaded(android.graphics.drawable.Drawable))`(`[Drawable](/reference/android/graphics/drawable/Drawable)` d) ` |\n\nPublic methods\n--------------\n\n### onDrawableLoaded\n\nAdded in [API level 23](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void onDrawableLoaded (Drawable d)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-----|-------------------|\n| `d` | `Drawable` \u003cbr /\u003e |"]]