You are right
If you are implementing your own list view
it will call getView(....) method for every list item displayed in the
visible area.
when you scroll down/up same will happen and again it calls the getView(...)
method
for every getView(..) --> public View getView(int position, View
convertView, ViewGroup parent) { .....}
based on the position you need to implement your condition for display
background.
may be this helps.
On Sat, May 1, 2010 at 11:24 AM, javame_android
<[email protected]>wrote:
> Hi,
>
> The reason for this type of behavior is probably the conditions that
> have been put up to display the listview. Since, I need to change the
> background image on certain conditions. Now, after scrolling those
> conditions are not satisfied as it should be.
>
> I think this will need to be checked by me only since only I have the
> source code.
>
>
>
> Regards
> Sunil
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
--
Thank you,
Dilli Rao. M
www.arijasoft.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en