Package 

Interface ResourceCallback


  • 
    public interface ResourceCallback
    
                        

    A callback that listens for when a resource load completes successfully or fails due to an exception.

    • Method Summary

      Modifier and Type Method Description
      abstract void onResourceReady(Resource<out Object> resource, DataSource dataSource, boolean isLoadedFromAlternateCacheKey) Called when a resource is successfully loaded.
      abstract void onLoadFailed(ImageModuleException e) Called when a resource fails to load successfully.
      abstract Object getLock() Returns the lock to use when notifying individual requests.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait