Skip to content

Commit

Permalink
Added image spans directly instead of using Html.fromHtml().
Browse files Browse the repository at this point in the history
This allows for other block actions like linking to still work. I had to limit the image size to 240dp, otherwise the images would load blank white.
  • Loading branch information
roundhill committed Sep 26, 2014
1 parent afc5a86 commit d4ff1cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void onResponse(ImageLoader.ImageContainer response, boolean isImmediate)
return remote;
}

private static class RemoteDrawable extends BitmapDrawable {
public static class RemoteDrawable extends BitmapDrawable {
Drawable mRemoteDrawable;
final Drawable mLoadingDrawable;
final Drawable mFailedDrawable;
Expand Down

0 comments on commit d4ff1cf

Please sign in to comment.