Skip to content

Class ResourceListener

Il Kadyrov edited this page Nov 5, 2020 · 4 revisions

ResourceListener provides a callback to be invoked when ResourceManager will load or fail loading of the image. The callback is invoked in the UI thread.

Referenced from: ResourceManager.

public class ResourceListener
{
  public abstract void onLoaded(String imageId, Image image);
  public abstract void onFailed(String imageId, Error error);
}

Clone this wiki locally