Is there someone who could help me out?

Jiri

On 02/04/2010 14:25, jiri wrote:
Hello List,

I am looking for a solution to a problem where I have to query all
users and then for each user I query for her numbers. Offcourse I can
build a strcuture first, but that has proven to be quit slow. Building
a strcuture and  then placing it in a listview seems like a detour.
Now I would like to create a CustomCursor, where I want to implement
my own moveToNext() mehtod. The implementation needs to identify if it
is currently at a 'contactname' and if so, the next time it is called,
it should create a sub cursor that can go through the 'contact' s
phonenumbers.

My question, can somebody point me to some resources where I can study
how to do this, or some sample code. Advice is also welcome
offcourse .

The end result I am trying to achive is a ListActivity that show
ContactNames as a non-clickable seperator and then all the numbers of
that user. Like so:

contact name
number
number
contact name
number

Thank you,

Jiri


--
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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to