Sunday, March 3, 2013

[android-developers] Re: Performance Problem with ListView / Styled TextView




  Btw. I re-use the convert view etc. The performance degradation only happens when I style the output.



I had a similar problem. When I noticed the increased garbage collection in my styled listview compared to non-styled, that manifested as choppy scrolling and bad animation fps, I did some memory leak investigation. It turns out using Html.fromHtml on list view items is a bad idea.

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate