public class ImageLoaderUtils { public static DisplayImageOptions getOptions() { DisplayImageOptions options = new DisplayImageOptions.Builder() .showImageForEmptyUri(R.mipmap.ic_launcher) .showImageOnLoading(R.mipmap.ic_launcher) .build(); return options; } }