Saturday, November 6, 2010

[android-developers] More complex Scrollview example needed.

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate