public ImageTask createImageTask(ImageLoadRequest request) {
    ImageTask imageTask = ImageTask.obtain();
    if (imageTask == null) {
      imageTask = new ImageTask();
    }

    imageTask.renewForRequest(request);
    return imageTask;
  }
 /**
  * Create an ImageTask. You can override this method to return a customized {@link ImageTask}.
  *
  * @param url
  * @param requestWidth
  * @param requestHeight
  * @param imageReuseInfo
  * @return
  */
 @Deprecated
 public ImageTask createImageTask(
     String url, int requestWidth, int requestHeight, ImageReuseInfo imageReuseInfo) {
   ImageTask imageTask = ImageTask.obtain();
   if (imageTask == null) {
     imageTask = new ImageTask();
   }
   ImageLoadRequest imageLoadRequest =
       new ImageLoadRequest(url, requestWidth, requestHeight, -1, imageReuseInfo);
   imageTask.renewForRequest(imageLoadRequest);
   return imageTask;
 }