package com.pan.materialdrawer.util;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.util.Log;
import android.widget.ImageView;
public abstract class AbstractDrawerImageLoader implements DrawerImageLoader.IDrawerImageLoader {
@Override
public void set(ImageView imageView, Uri uri, Drawable placeholder) {
//this won't do anything
Log.i("MaterialDrawer", "you have not specified a ImageLoader implementation through the DrawerImageLoader.init(IDrawerImageLoader) method");
}
@Override
public void cancel(ImageView imageView) {
}
@Override
public Drawable placeholder(Context ctx) {
return DrawerUIUtils.getPlaceHolder(ctx);
}
@Override
public Drawable placeholder(Context ctx, String tag) {
return placeholder(ctx);
}
}