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 5b22440 commit 0a3da42
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 0a3da42

Please sign in to comment.