Merge branch 'TargetApi' into ShowAccountActivity_ScrollToTop
This commit is contained in:
commit
b13e3b71fe
|
@ -18,6 +18,7 @@ package fr.gouv.etalab.mastodon.helper;
|
|||
|
||||
|
||||
import android.app.Activity;
|
||||
import android.support.annotation.RequiresApi;
|
||||
import android.support.v7.app.AlertDialog;
|
||||
import android.app.DownloadManager;
|
||||
import android.app.PendingIntent;
|
||||
|
@ -971,6 +972,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() {
|
||||
@RequiresApi(Build.VERSION_CODES.JELLY_BEAN)
|
||||
@Override
|
||||
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
|
||||
super.onLoadingComplete(imageUri, view, loadedImage);
|
||||
|
|
Loading…
Reference in New Issue