Eric Mill wrote: > AH, I GET IT NOW! > > I was having awful troubles with an ArrayAdapter recycling random > views to me, in a list which used different kinds of views. The > errors were maddening until I figured out what was going on, using > that part of your book. It's absolutely insane...until you understand > why they do it, and then it makes (some) sense. Phew.
Yeah, it takes getting used to. If some of the rows are one-offs (e.g., there is only occurrence of the row at some more-or-less fixed position), adapters like my SackOfViewsAdapter and MergeAdapter may help simplify things: http://github.com/commonsguy -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 Available! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

