> I am seeing this exact same stacktrace as well. I'm loading a Listiew
> and am trying to progressively load more items once the last item is
> hit. Is anyone else seeing this problem or have a fix? Very
> frustrating since it happens randomly in my case. So it seems to be a
> threading issue down inside Android?

As with Mr. Weiss, I've run into exceptions like this when I screwed up
the threading.

For example, I have an EndlessAdapter which implements the exact pattern
you describe -- "trying to progressively load more items once the last
item is hit". Up until very recently, I had a bug that would only be
encountered under certain conditions, caused by the fact that I was adding
items to the adapter from a background thread (or, more accurately, from
doInBackground() of an AsyncTask). Moving that logic to onPostExecute()
cleared up the bug.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to