Reputation: 123
I am developing the android application in whch i need to display html content of webpages into my list view. I have used simple adapter to display web content. I am able to retriveing the contents of webpage but problem is it is showing html tag along with content. If you have any solution please reply.
Thanks in advance
Upvotes: 2
Views: 471
Reputation: 7439
Try with below line:
txtHtmlData.setText(Html.fromHtml(YOUR HTML CONTENT)).toString();
Upvotes: 5