I implemented the async incoming data on a separate thread which adds the items to a ArrayList that is connected to the view through my custom adapter (inherits BaseAdapter). But when I modified the ArrayList, the application crashes.
Have you have the same problem? On Feb 3, 5:03 pm, Emmanuel <emmanuel.ast...@gmail.com> wrote: > Do you mean the data from your adapter has changed, and you want to > update your list from this ? > > To achieve this result, I create the adapter from the new data, and > reset it to the list. > There should be another cleaner method, but this is works for me ! > > Emmanuelhttp://androidblogger.blogspot.com/ > > On Feb 3, 7:36 pm,cindy<ypu01...@yahoo.com> wrote: > > > I have a list. Which will first show 10 items, user would be able to > > do pagination with click pagination button. > > > The list is extended from listActivity, and the list adapter is > > extends from BaseAdapter . > > > But how to update UI when I get next 10 items back? > > > Thanks! > > > April --~--~---------~--~----~------------~-------~--~----~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---