Answer the question
In order to leave comments, you need to log in
Displaying animated GIFs in ListView?
There is an application, in it by means of ListView the list of messages is displayed. Each message can contain up to several emoticons. Smilies are preloaded from the server in the form of GIFs, some of them are animated. The display is implemented like this:
Html.ImageGetter imageGetter=new Html.ImageGetter imageGetter() {
public Drawable getDrawable(String source) {
return getDrawableFromSd(String source);
}
}
mtTextView.setText(Html.fromHtml(text,imageGetter,null));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question