> So I would like to have all the views in the ListView loaded and > displayed if possible. I've managed this by instantiating and > measuring each element inside of the ListView when onMeasure is called > on the ListView, adding them all up (and padding for dividers), and > setting the measured height, but this doesn't seem like an ideal > solution. Any tips?
Why would you do it this way? ListView will already load and display as many elements as it can. You are just forcing ListView to work in a way that's it is not meant for and, worse, you are forcing it to work in a very inefficient way. What exactly are you trying to achieve? -- Romain Guy www.curious-creature.org --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---