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

2013-03-03 Thread Simas Galinis
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

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

2009-03-20 Thread for android
i was trying to tell you use the ViewHolder pattern as in the list demos...and just added that you can use TwoLineListItem instead of creating your own.. On Fri, Mar 13, 2009 at 1:15 AM, Mariano Kamp mariano.k...@gmail.comwrote: Hi forandroid, I guess you're talking about the class

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

2009-03-12 Thread Mariano Kamp
Hi forandroid, I guess you're talking about the class TwoLineListItem [1], right? Out of curiosity, not because I am trying to be a smart ass: Why would this be faster? Cheers, Mariano [1] http://developer.android.com/reference/android/widget/TwoLineListItem.html On Wed, Jan 14, 2009 at

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

2009-01-14 Thread Mariano Kamp
*bump* ;-) On Sun, Jan 11, 2009 at 7:10 PM, Mariano Kamp mariano.k...@gmail.comwrote: Hi, I have a performance problem in a ListView. The problem seems to be that it takes too long to setup each individual row. It scrolls very, very painfully slow, because of that. The actual code

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

2009-01-14 Thread for android
use the efficient list adapter And also you can use the TwoLineListitem On Wed, Jan 14, 2009 at 2:23 PM, Mariano Kamp mariano.k...@gmail.comwrote: *bump* ;-) On Sun, Jan 11, 2009 at 7:10 PM, Mariano Kamp mariano.k...@gmail.comwrote: Hi, I have a performance problem in a ListView.

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

2009-01-14 Thread Dianne Hackborn
Ummm... don't do that? Your slow code is doing tons of work, so it is going to be slow. If you just can't avoid doing all of that work for each item, you might need to fall back on the approach of formatting the text in a separate thread, based on the list view API demo for when retrieving item

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

2009-01-14 Thread Mark Murphy
Mariano Kamp wrote: public View getView(int position, View convertView, ViewGroup parent) { View rowView = convertView != null ? convertView : activity .findViewById(R.layout.entry_row); Why are you attempting to use a single row View for every entry in the list? In other words,