this is probably an obvious question, but i somehow can't figure it out..
so i'm new to android development, and in the process of building a practice application. in my application i have several models. there's a user, a user can have many shops, and each shop can have many products.
so it's basically User, Shop, Product.
am i supposed to create a content provider for each model/table? or is it one Content Provider, but depending on the Uri that's passed in, it decides which model/tables to create/update/delete/query from?
it almost seems to me that a content provider is like an internal REST api.. if that's the case i imagine i would only have one content provider and i would do all the CRUD operations the way i do it in my REST api.
thanks in advance!