Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin'
Browse files Browse the repository at this point in the history
  • Loading branch information
luigi-agosti committed Jun 21, 2012
2 parents adcb406 + fbb19e8 commit b345cc2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,14 @@ getImageManager().getLoader().load(imageView);
</code></pre>

<pre><code>
//If the small image used as preview has the same url of the big image
//you can use the image tag factory
// If the small image used as preview has the same url of the big image
// you can use the image tag factory
imageTagFactory = new ImageTagFactory(this, R.drawable.loading);
imageTagFactory.setErrorImageId(R.drawable.image_not_found);
imageTagFactory.usePreviewImage(THUMB_IMAGE_SIZE, THUMB_IMAGE_SIZE, true);
//keep the instance of the tag factory somewhere
// Keep the instance of the tag factory somewhere

//on bind
// On bind
ImageView imageView = (ImageView) view;
String url = cursor.getString(columnIndex);
imageView.setTag(imageTagFactory.build(url));
Expand Down Expand Up @@ -134,7 +134,6 @@ private ViewBinder getViewBinder() {
ImageTag tag = imageTagFactory.build(cursor.getString(columnIndex))
((ImageView) view).setTag(tag);
imageLoader.load(view);
//
return true;
}
};
Expand Down Expand Up @@ -184,6 +183,8 @@ You can also simply include the "latest version":https://github.com/novoda/publi

h1. Helping out

Novoda <3 open source.

h2. Report issues

If you have a problem with the library or want to suggest new features, let us know by creating an issue in GitHub.
Expand Down

0 comments on commit b345cc2

Please sign in to comment.