private void setLoadingImage(final ImageConsumer consumer) {
    if (!consumer.skipLoadingImage()) {
      Drawable d = getLoadingDrawable(consumer);
      if (!consumer.hasUndefinedSize() || (d.getIntrinsicWidth() != 0 && d.getIntrinsicHeight() != 0)) {
        consumer.setLoadingImage(d);
      }
    }
  }
private void setLoadingImage(final ImageConsumer consumer) {
    if (!consumer.skipLoadingImage()) {
      Drawable d = getLoadingDrawable(consumer);
      if (!consumer.hasUndefinedSize() || (d.getIntrinsicWidth() != 0 && d.getIntrinsicHeight() != 0)) {
        consumer.setLoadingImage(d);
      }
    }
  }
private void setLoadingImage ( final ImageConsumer consumer ) { if ( ! consumer . skipLoadingImage ( ) ) { Drawable d = getLoadingDrawable ( consumer ) ; if ( ! consumer . hasUndefinedSize ( ) || ( d . getIntrinsicWidth ( ) != 0 && d . getIntrinsicHeight ( ) != 0 ) ) { consumer . setLoadingImage ( d ) ; } } }
Set preloader.
@param consumer image consumer instance
Set preloader .