images/src/main/java/com/stanfy/enroscar/images/ImagesManager.java
public void populateImage(final View view, final String url) {
    final Object tag = view.getTag();
    ImageConsumer consumer = null;
    if (tag == null) {
      consumer = createImageConsumer(view);
      view.setTag(consumer);
    } else {
      if (!(tag instanceof ImageConsumer)) {
        throw new IllegalStateException("View already has a tag " + tag + ". Cannot store consumer");
      }
      consumer = (ImageConsumer)tag;
    }
    populateImage(consumer, url);
  }
public void populateImage(final View view, final String url) {
    final Object tag = view.getTag();
    ImageConsumer consumer = null;
    if (tag == null) {
      consumer = createImageConsumer(view);
      view.setTag(consumer);
    } else {
      if (!(tag instanceof ImageConsumer)) {
        throw new IllegalStateException("View already has a tag " + tag + ". Cannot store consumer");
      }
      consumer = (ImageConsumer)tag;
    }
    populateImage(consumer, url);
  }
Populate the requested image to the specified view. Called from the GUI thread.
@param view view instance
@param url image URL