Package 

Interface FutureTarget

  • All Implemented Interfaces:
    com.mobwith.imgmodule.manager.LifecycleListener , com.mobwith.imgmodule.request.target.Target , java.util.concurrent.Future

    
    public interface FutureTarget<R>
     implements Future<R>, Target<R>
                        

    An interface for an object that is both a com.mobwith.imgmodule.request.target.Target and a Future. For example:

    Note - get and get must be called off of the main thread or they will block forever.

    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class java.util.concurrent.Future

        cancel, get, isCancelled, isDone
      • Methods inherited from class com.mobwith.imgmodule.request.target.Target

        getRequest, getSize, onLoadCleared, onLoadFailed, onLoadStarted, onResourceReady, removeCallback, setRequest
      • Methods inherited from class com.mobwith.imgmodule.manager.LifecycleListener

        onDestroy, onStart, onStop
      • Methods inherited from class java.lang.Object

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