Thanks for your answers.

@Mark:
You do not need to call setAdapter() again on the ListView.
ArrayAdapter
will already remove the row from the ListView without setAdapter()
being
called again.

If I dont set it, the images from the row changed arbitrarily. One
example of my listview:

IMAGE1 DESCRIPTION1 ANOTHER_STRING1
IMAGE2 DESCRIPTION2 ANOTHER_STRING2
IMAGE3 DESCRIPTION3 ANOTHER_STRING3
IMAGE4 DESCRIPTION4 ANOTHER_STRING4

if i dont call setAdapter, i get:
IMAGE1 DESCRIPTION2 ANOTHER_STRING1
IMAGE4 DESCRIPTION3 ANOTHER_STRING2
IMAGE3 DESCRIPTION4 ANOTHER_STRING3

if i call setAdapter, i get:
IMAGE1 DESCRIPTION2 ANOTHER_STRING1
IMAGE2 DESCRIPTION3 ANOTHER_STRING2
IMAGE3 DESCRIPTION4 ANOTHER_STRING3

what is also wrong, too.

Must I create an own class, where i save my three values (image,
description, anotherstring)
and make a ArrayList<MYOWNCLASS> object??

I cannot believe, that it is so difficult to delete one row...

Thanks,
Stefan

-- 
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

Reply via email to