Android - ImageLoader must be init with configuration before using in UIL

Try to implement this inside your onCreateView:

For Activity -

BaseActivity.imageLoader.init(ImageLoaderConfiguration.createDefault(getBaseCont‌​ext()));

For Fragment -

ImageLoader.getInstance().init(ImageLoaderConfiguration.createDefault(getActivity()));

This worked better for me.

Put the following in the onCreate of your activity

   ImageLoader.getInstance().init(ImageLoaderConfiguration.createDefault(MyActivity.this));

I think you are using the Universal image loader API. If yes, then you have forgot to configure the image loader in the Application class.

Add the below function in your Application class:

public static void initImageLoader(Context context) {

    // This configuration tuning is custom. You can tune every option, you may tune some of them,
    // or you can create default configuration by the
    //  ImageLoaderConfiguration.createDefault(this);
    // method.
    //
    ImageLoaderConfiguration.Builder config = new ImageLoaderConfiguration.Builder(context);
    config.threadPriority(Thread.NORM_PRIORITY - 2);
    config.denyCacheImageMultipleSizesInMemory();
    config.diskCacheFileNameGenerator(new Md5FileNameGenerator());
    config.diskCacheSize(50 * 1024 * 1024); // 50 MiB
    config.tasksProcessingOrder(QueueProcessingType.LIFO);
    config.writeDebugLogs(); // Remove for release app

    // Initialize ImageLoader with configuration.
    ImageLoader.getInstance().init(config.build());
}

For more details, check this sample.