15 lines
401 B
Java
15 lines
401 B
Java
|
package com.novelbook.android.utils;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.widget.ImageView;
|
||
|
|
||
|
import com.bumptech.glide.Glide;
|
||
|
|
||
|
public class MyImageLoader extends com.youth.banner.loader.ImageLoader {
|
||
|
@Override
|
||
|
public void displayImage(Context context, Object path, ImageView imageView) {
|
||
|
Glide.with(context).load((String) path).into(imageView);
|
||
|
}
|
||
|
}
|
||
|
|