simpleprovider
simpleprovider copied to clipboard
Implement getType() and use UriMatcher
Support the getType() content provider method and use the UriMatcher instead to determine which table, mime type and whether it is a single row lookup instead of getPathSegment(). This is more flexible and allows the provider to stop trusting the uris provided by clients.
I think this one is safe to merge. What do you think @ChristianBecker ?
Besides some nits (formatting, missing whitespaces, …) it should be safe to merge. :+1: