Problem in Setting image in imageview inside ListView in Android?

Posted by sunil on Stack Overflow See other posts from Stack Overflow or by sunil
Published on 2010-05-26T09:15:08Z Indexed on 2010/05/26 10:31 UTC
Read the original article Hit count: 411

Filed under:
|
|

Hi,

I have a listview which includes 2 textviews and 1 imageview. Now, the image in imageview will be set on certain conditions otherwise it should be left blank with no image.

The problem is the images are not coming in proper rows. Say, for eg the image should be displayed at row 3 but its displayed at row 4. And, in some cases each row will have the same image.

Has someone faced this kind of an issue? I am really clueless about the reason behind this. Can anyone point out the problem?

Regards

Sunil

© Stack Overflow or respective owner

Related posts about android

Related posts about image