CotntentProvider mime type clarification

36 Views Asked by At

Is there any difference, from client's perspective, whether provider serves data with item or dir type? Does the framework use this information for optimization? Can you give examples of code where mime type matters? Could I just use dir mimetype for any case?

P.S. I know that dir = collection and item = row. And I read the doc. Still, as a developer, I can't understand why should I bother differentiating item from dir. Isn't it just enough to use dir?

0

There are 0 best solutions below