com.bumptech.glide.request
Interface RequestCoordinator

All Known Implementing Classes:
ThumbnailRequestCoordinator

public interface RequestCoordinator

An interface for coordinating multiple requests with the same Target.


Method Summary
 boolean canNotifyStatusChanged(Request request)
          Returns true if the Request can display a placeholder.
 boolean canSetImage(Request request)
          Returns true if the Request can display a loaded bitmap.
 boolean isAnyResourceSet()
          Returns true if any coordinated Request has successfully completed.
 void onRequestSuccess(Request request)
          Must be called when a request coordinated by this object completes successfully.
 

Method Detail

canSetImage

boolean canSetImage(Request request)
Returns true if the Request can display a loaded bitmap.

Parameters:
request - The Request requesting permission to display a bitmap.

canNotifyStatusChanged

boolean canNotifyStatusChanged(Request request)
Returns true if the Request can display a placeholder.

Parameters:
request - The Request requesting permission to display a placeholder.

isAnyResourceSet

boolean isAnyResourceSet()
Returns true if any coordinated Request has successfully completed.

See Also:
Request.isComplete()

onRequestSuccess

void onRequestSuccess(Request request)
Must be called when a request coordinated by this object completes successfully.