I am sure that there can be better approaches to the problem.  And, I think
ListView indeed will be able to handle this situation. May be you can
explain your requirement more clearly, and how are you trying to implement
it.

On Sun, Nov 7, 2010 at 4:38 AM, Rutton <rut...@web.de> 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com

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

Reply via email to