Thanks for the replies. I have fixed this one.

Previously while returning the view from getview() method it was checking
for convertview to null or not, if its null then only I was creating a new
view.
But I have removed the null checking login now and always returning a new
view. This sovled my problem.

Thanks,
Shashidhar

On Tue, Aug 31, 2010 at 1:12 AM, Kumar Bibek <[email protected]> wrote:

> Can you post some code as to what you are doing?
>
> That's interesting I would say, A spinner in a List View, :) I would
> suggest not to do that, but still if you have to, well, let's fix it.
>
> -Kumar Bibek
> http://techdroid.kbeanie.com
>
> On Aug 30, 6:42 pm, Shashidhar <[email protected]> wrote:
> > Hi,
> >   I am using a custom list adapter with a spinner in each item.
> > There is a strange problem with the value the spinner shows.
> > For some of the items the spinner always shows the first value in the
> > adapter set to the spinner but when I touch on spinner, on the pop up
> > selection list it shows the actual value which I have set before. I mean
> the
> > value shown in the spinner and the selected item that is shown in pop
> list
> > of the spinner are some times different.
> >
> > Please help me and tell me why this happens.
>
> --
> 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
>

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

Reply via email to