I forgot to mention that the listview is bound to ArrayAdapter<String>.
ListView.GetChildCount() returns 0 (presumably, because the list elements aren't android views. They are strings from the array adapter.) Do you know how I can find the number of visible strings within the listbox Thanks Ram On Apr 9, 9:11 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote: > ListView.getChildCount(). > > On Wed, Apr 9, 2008 at 9:04 PM, Ram <[EMAIL PROTECTED]> wrote: > > > Hi, ListView.getCount() returns the total number of data items in the > > listview. > > > Does anyone know how to find out the total number of visible views in > > the listbox. > > > Alternately, does anyone know how to see whether the listview will > > scroll or not (i.e. if number of visible views < getCount()) > > -- > Romain Guywww.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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---

