Peter wrote: > I've tried to describe this problem a few times, but I'll try again.
I saw your earlier posts. I could not make heads or tails of them then, and I'm not having much better luck here. > However, when 0 is updated, 5 mirrors its data on the screen > briefly What, exactly, is "its" in the phrase "5 mirrors its data"? Basically, I cannot parse your sentence, and so I have no idea what behavior you are seeing. > How many views are created by default for an adapter? >From the standpoint of the adapter, 0, since adapters do not create rows unless asked. >From the standpoint of the ListView (and you never indicated in your email exactly what selection widget you're using; I'm just guessing), it will create as many rows as is needed. That would be the lesser of the number of rows in the data (as reported by the adapter) and the number of rows that could be visible (as determined by the selection widget type and, in the case of ListView, its size). > My guess is 3 based on what I see. If you are trying to say that you have a ListView that shows six rows, then the answer should be six. You can verify this by using hierarchyviewer to inspect your layout: http://developer.android.com/guide/developing/tools/hierarchy-viewer.html -- 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 -~----------~----~----~----~------~----~------~--~---

