Can someone help in writing a Custom Content Provider for Multiple tables. I can write for a single table but for multiple table I did not find any good example.
Asked
Active
Viewed 4,787 times
1 Answers
0
A near duplicate of an existing answer. Compare this question and answer, discussing use of LEFT JOIN inside your ContentProvider.
Note that, all in all, the expected use of ContentProviders is to use single tables for each path in your Content URI. It's still seen as something out of the norm to use join or index multiple tables in one call. Not to say it's bad, just that there aren't many people thinking in those terms.