ExpanadableListView Problem

Put your problem here if it does not fit any of the other categories.

ExpanadableListView Problem

Postby srinuv28 » Tue Nov 17, 2009 9:54 am

Hi..

I doing one IM application, In contact list I am showing online and offline users, I am separting online and offline users separating with Groups.
My problem is in back ground thread is running getting new contacts from server, and these contacts are updating with ExpandableList, while updating contact when I click on child element I got java.util.ConcurrentmodificationException, pls help on how to overcome this problem, and how to refresh ExpandableListView without touching..

Thanx
srinu
srinuv28
Developer
Developer
 
Posts: 36
Joined: Wed Nov 04, 2009 4:04 am

Top

Postby Kur1310 » Tue Nov 17, 2009 12:18 pm

Hi srinu,,
U can have separate thread running which collects the online and offline users status and make list accordingly.
Then by setting adapter to the list view will do the work for u. U do not need to add them manually..
-Kur
Kur1310
Junior Developer
Junior Developer
 
Posts: 20
Joined: Wed Oct 28, 2009 10:50 am

Postby srinuv28 » Wed Nov 18, 2009 2:25 am

How to refresh ExpandableListView without touching the List.
anyone help.

Thanks
Srinu
srinuv28
Developer
Developer
 
Posts: 36
Joined: Wed Nov 04, 2009 4:04 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot], Google Feedfetcher and 26 guests