|
@ -179,12 +179,8 @@ public class BaseApplication extends MultiDexApplication { |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public Drawable placeholder(Context ctx, String tag) { |
|
|
public Drawable placeholder(Context ctx, String tag) { |
|
|
if (DrawerImageLoader.Tags.PROFILE.name().equals(tag)) { |
|
|
if (DrawerImageLoader.Tags.PROFILE.name().equals(tag)) |
|
|
return new IconicsDrawable(ctx).icon(FontAwesome.Icon.faw_user) |
|
|
return BaseApplication.getInstance().getResources().getDrawable(R.drawable.ic_default_user_avatar); |
|
|
.paddingDp(10) |
|
|
|
|
|
.color(ContextCompat.getColor(ctx, R.color.iron)) |
|
|
|
|
|
.backgroundColor(ContextCompat.getColor(ctx, R.color.primary_lighter)); |
|
|
|
|
|
} |
|
|
|
|
|
return super.placeholder(ctx, tag); |
|
|
return super.placeholder(ctx, tag); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|