I have a question about getView method of BaseAdapter that I overwrote
to populate my GridView. All is well when convertView parameter is
null - I create my views for cells and populate them, works and looks
great.
The problem is when my data is updated and notifyDataSetChanged(); is
called somewhere else in my app convertView parameters in getView are
all screwed up.
Here is an example. I created Button view for position 0 and the rest
TextViews. When I get getView calls with convertView not null for
position 0 it's not a Button that I created but a TextView - WTF? For
now I just ignore convertView parameter and always create new views
but clearly either I don't understand something here or it's a bug. I
hope it's me.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---