setProgressListener

Sets a ProgressListener for monitoring the download. Calling this method will replace any previously set listener. You may provide null to clear the listener.

Note: Progress listener methods will be notified on the main thread.

Parameters

progressListener

ProgressListener that should be notified, or null to clear the listener.