simpleprovider icon indicating copy to clipboard operation
simpleprovider copied to clipboard

Implement getType() and use UriMatcher

Open icedtoast opened this issue 10 years ago • 2 comments

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.

icedtoast avatar Aug 02 '15 03:08 icedtoast

I think this one is safe to merge. What do you think @ChristianBecker ?

bhurling avatar Sep 10 '15 17:09 bhurling

Besides some nits (formatting, missing whitespaces, …) it should be safe to merge. :+1:

ChristianKatzmann avatar Sep 23 '15 17:09 ChristianKatzmann