[android] allow resetting of resource transform callback

This commit is contained in:
Ivo van Dongen
2017-03-30 14:55:19 +03:00
committed by Ivo van Dongen
parent 8aa625bf96
commit 2bfbe90765

View File

@@ -123,9 +123,9 @@ public class FileSource {
* The callback will be executed on the main thread once for every requested URL.
* </p>
*
* @param callback the callback to be invoked
* @param callback the callback to be invoked or null to reset
*/
public native void setResourceTransform(@NonNull final ResourceTransformCallback callback);
public native void setResourceTransform(final ResourceTransformCallback callback);
private native void initialize(String accessToken, String cachePath, String apkPath);