RequestTracker
A class for tracking, canceling, and restarting in progress, completed, and failed requests.
This class is not thread safe and must be accessed on the main thread.
Functions
Link copied to clipboard
Stops tracking the given request, clears, and recycles it, and returns
true
if the request was removed or invalid or false
if the request was not found.Link copied to clipboard
Cancels all requests and clears their resources.
Link copied to clipboard
Stops any in progress requests and releases bitmaps associated with completed requests.
Link copied to clipboard
Stops any in progress requests.
Link copied to clipboard
Restarts failed requests and cancels and restarts in progress requests.
Link copied to clipboard
Starts any not yet completed or failed requests.
Link copied to clipboard
Starts tracking the given request.