Stay organized with collections
Save and categorize content based on your preferences.
Contains classes for loading images from Google Play services.
Interfaces
Classes
ImageManager |
This class is used to load images from the network and handles local caching for you.
|
Size |
Immutable class for describing width and height dimensions in pixels.
|
WebImage |
A class that represents an image that is located on a web server.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ecom.google.android.gms.common.images\u003c/code\u003e package provides classes for loading and caching images from various sources, including the network.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eImageManager\u003c/code\u003e is the primary class for handling image loading and caching, simplifying the process for developers.\u003c/p\u003e\n"],["\u003cp\u003eThe package includes helper classes such as \u003ccode\u003eSize\u003c/code\u003e for defining image dimensions and \u003ccode\u003eWebImage\u003c/code\u003e for representing images hosted online.\u003c/p\u003e\n"],["\u003cp\u003eAn \u003ccode\u003eImageManager.OnImageLoadedListener\u003c/code\u003e interface is available to receive callbacks when images have finished loading.\u003c/p\u003e\n"]]],[],null,["# com.google.android.gms.common.images\n====================================\n\n[Kotlin](/android/reference/kotlin/com/google/android/gms/common/images/package-summary \"View this page in Kotlin\") \\|Java \n\nContains classes for loading images from Google Play services.\n\nInterfaces\n----------\n\n|----------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|\n| [ImageManager.OnImageLoadedListener](/android/reference/com/google/android/gms/common/images/ImageManager.OnImageLoadedListener) | Listener interface for handling when the image for a particular URI has been loaded. |\n\nClasses\n-------\n\n|--------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------|\n| [ImageManager](/android/reference/com/google/android/gms/common/images/ImageManager) | This class is used to load images from the network and handles local caching for you. |\n| [Size](/android/reference/com/google/android/gms/common/images/Size) | Immutable class for describing width and height dimensions in pixels. |\n| [WebImage](/android/reference/com/google/android/gms/common/images/WebImage) | A class that represents an image that is located on a web server. |"]]