On Sun, Nov 7, 2010 at 4:38 AM, Rutton <[email protected]> wrote: > Hello there, > I am working on some sort of record lookup for a database. My code > allows to search for some kind of string within an index (of that > database) and returns the database-position of the found thing . With > this found position my programm is then able to move to adjacent > records from the database moving forward and backwards from the > initial position in small steps. > > ListView seems to not work in this case, as ListView starts per > default at ListAdapter position 0 and not at an arbitrary position in > the (here virtual) list. The api-docs doesnt seem to specify some sort > of "start somewhere else and follow during scrolling". At least I > haven't found that. > > So what I thought of is to use a ScrollView. Unfortunately I don't > have a real understanding of how that could be realized with a huge > number of records (and not just a handfull like in the examples). > > So, my questions are: > - Is it possible to start a ListView at some defined position (without > reimplementing {Abs}ListView) > - Or can someone provide an example on how to implement a more complex > ScrollView? > > Cheers, > Rutton > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en
-- Julie http://tradinglogically.blogspot.com <http://tradinglogically.blogspot.com> http://vikitionary.blogspot.com http://gandhi-the-man-of-millenium.blogspot.com/ -- 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

