List Activity Updation

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

List Activity Updation

Postby Game » Wed Jul 15, 2009 7:24 am


I have created a list activity where each item consist of an Icon and text. I have used this link for the reference.


In the same activity i have created a thread which is used to modify the list activity items.
But when i try to update the list from thread it give me an exception..

for adding an element in the list. i am using this code.

iconTxt.addItem(new IconifiedText(
"item1", getResources().getDrawable(R.drawable.img)));
setListAdapter(startapp.itla); //when i call this it gives me an exception...

When i try this code from onCreate() function i am able to modify it.But when i use this in thread it gives me an exception.

Can anybody help me in this...

Thanks in Advance.
Posts: 2
Joined: Tue Jun 30, 2009 6:01 am


Return to General

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests