Fix android progress events.

This commit is contained in:
Dylan Vann 2017-07-26 21:57:15 -04:00
parent 5205ef4a4e
commit aa6c1836e7

View File

@ -1,8 +1,8 @@
package com.dylanvann.fastimage;
public interface UIProgressListener {
public interface ProgressListener {
void onProgress(long bytesRead, long expectedLength);
void onProgress(String key, long bytesRead, long expectedLength);
/**
* Control how often the listener needs an update. 0% and 100% will always be dispatched.