Hi All, i'll try to rephrase a question.
I have a Gallery with custom adapter. The items of the gallery are
textviews. In on  it's  onItemSelected i'm changing a font of the text
in selected TextView to be a different color.
Then,
As a result of the other Activity items in the gallery adapter are no
longer valid so i'm rebuilding the adapter and trying to setSelection
in the gallery to particular view . If before that operation Gallery
was in pos 0 and i'm adding to the  top  onItemSelected is not getting
fired. So i added a function to set selected item which compares old
and new  position and if they are the same than i change fonts of the
text at selected pos. That does get fired. But for some reason, on the
screen text still doesn't get updated. The selection is right though.
I've tried invalidate gallery with no result.
So any ideas greatly appreciated.
Alex.

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