Vijay Krishnan wrote:
> my question is when i m having two cursors that points to different data
> and i want to display the data in same listview.How could this can be done
> by merge cursor?
>
>

Cursor cs[] = new Cursor[2]
cs[0] = ... // first query
cs[1] = .. // second query
MergeCursor mc = new MergeCursor(cs)

// here you can create
// SimpleCursorAdapter
// and use it as your list adapter

pskink

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

Reply via email to