Added TargetApi() annotation to onLoadingComplete() method to fix a warning.
This commit is contained in:
parent
18edbec7a6
commit
811199ce5b
|
@ -17,6 +17,7 @@
|
|||
package fr.gouv.etalab.mastodon.helper;
|
||||
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.app.Activity;
|
||||
import android.support.v7.app.AlertDialog;
|
||||
import android.app.DownloadManager;
|
||||
|
@ -978,6 +979,7 @@ public class Helper {
|
|||
DisplayImageOptions optionNew = new DisplayImageOptions.Builder().displayer(new SimpleBitmapDisplayer()).cacheInMemory(false)
|
||||
.cacheOnDisk(true).resetViewBeforeLoading(true).build();
|
||||
imageLoader.loadImage(urlHeader, optionNew, new SimpleImageLoadingListener() {
|
||||
@TargetApi(16)
|
||||
@Override
|
||||
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
|
||||
super.onLoadingComplete(imageUri, view, loadedImage);
|
||||
|
|
Loading…
Reference in New Issue