Hi, sorry for my Bad English.

I'll cut a long story. I have an activity with just a GridView and set
an adapter for it. This adapter inherits from BaseAdapter normally.

This adapter in the GetView method creates and returns ToogleButton,
which are placed side by side in the columns of the gridview, On Off
their texts are coming from an ArrayList <String>.

Even so good, the ToogleButtons are usually positioned side by side,
but I have a number of ToogleButtons larger than the area, which
creates a scrollbar in gridview.

The problem is now when I select some ToogleButtons and do the
rollover of the gridview, the tooglebuttons that evaporate from the
screen up or down when they lose again selected. After several
attempts I found that even if it is going to gridview selected status
of a button switches to another that has not been selected and is
passing as if the selection was random.

My impression is that the position of the elements change.

My question is, how to work correctly with the GridView, so you can
change elements that are contained within, without her to change this
information?

I want to select when ToogleButtons necessary, scroll the gridview up
and down and tooglebuttons I selected previously will be selected.

I have looked everywhere.

Thanks in advance

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