Show / Hide Table of Contents

Class AN_ImageManager

This class is used to load images from the network and handles local caching for you. https://developers.google.com/android/reference/com/google/android/gms/common/images/ImageManager

Inheritance
System.Object
AN_ImageManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.Android.GMS.Common.Images
Assembly: cs.temp.dll.dll
Syntax
public class AN_ImageManager

Methods

LoadImage(String, Action<AN_ImageLoadResult>)

Load an image to display from a URL. Note that this does not support arbitrary URIs - the URI must be something that was retrieved from another call to Google Play services.

Note that you should hold a reference to the listener provided until the callback is complete. For this reason, the use of anonymous implementations is discouraged.

The result is delivered to the given callback on the main thread.

Declaration
public void LoadImage(string url, Action<AN_ImageLoadResult> callback)
Parameters
Type Name Description
System.String url

URL to load the image data from.

Action<AN_ImageLoadResult> callback

The callback that is called when the load is complete.

In This Article
Back to top Generated by DocFX