what-the-bank/sources/o/C16427oKK.java

29 lines
1.1 KiB
Java

package o;
import android.widget.ImageView;
import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.display.BitmapDisplayer;
/* renamed from: o.oKK, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16427oKK implements uGc {
private final ImageLoader a;
private final BitmapDisplayer c;
public C16427oKK(ImageLoader imageLoader, BitmapDisplayer bitmapDisplayer) {
this.a = imageLoader;
this.c = bitmapDisplayer;
}
@Override // o.uGc
public final void aAk_(Object obj, ImageView imageView) {
DisplayImageOptions build = new DisplayImageOptions.Builder().cacheInMemory(false).cacheOnDisk(false).displayer(this.c).build();
if ((obj instanceof String) || obj == null) {
this.a.displayImage((String) obj, imageView, build);
return;
}
throw new IllegalArgumentException("Unsupported model ".concat(String.valueOf(obj)));
}
}