[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

[android-developers] Waiting in asyncTask presents odd behaviour (on Galaxy S2 GT-i9100)

2012-09-12 Thread Simas Galinis
I have an async image loader that loads images as they come into queue. async task is pretty simple: protected Void doInBackground(Void... params) { try { while (true) { if (imageQueue.size() == 0) { synchronized (imageQueue) { imageQueue.wait(); } } if (imageQueue.size() > 0) { // loading image