ListView using two cursoradapters?

Martyn picture Martyn · Jul 13, 2010 · Viewed 12.4k times · Source

I have some code which executes two queries against a database and returns two cursor objects. Is there any way that I can combine these two cursors so that all the ListView gets the data from both?

Answer

yanchenko picture yanchenko · Jul 13, 2010

There's MergeCursor for that (if there's no way to join tables).