Package 

Interface PreloadRequestHolder


  • 
    public interface PreloadRequestHolder
    
                        

    This is responsible for holding details for a preloading request. Your implementation can do anything it wants with the request, but it must cancel and clear itself when clear is called.

    It is also recommended that your implementation calls clear when your request finishes loading to avoid unnecessarily hanging onto the request result (assuming the result is also stored in cache). Otherwise this holder can be stored in a pool for later use and may leak the preloaded data.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit clear() Clear any ongoing preload request.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • clear

         abstract Unit clear()

        Clear any ongoing preload request.