Changes

Understanding Android Content Providers

6 bytes added, 21:08, 1 February 2016
m
Text replacement - "<google>BUY_ANDROID</google>" to "<htmlet>androidstudio</htmlet>"
<googlehtmlet>BUY_ANDROIDandroidstudio</googlehtmlet>
When implementing the insert, query, update and delete methods in the content provider, it will be the responsibility of these methods to identify whether the incoming URI is targeting a specific row in a table, or references multiple rows and act accordingly. This can potentially be a complex task given that a URI can extend to multiple levels. This process can, however, be eased significantly by making use of the UriMatcher class as will be outlined in the next chapter.
<googlehtmlet>BUY_ANDROIDandroidstudio</googlehtmlet>
== The Content Resolver ==
<googlehtmlet>BUY_ANDROIDandroidstudio</googlehtmlet>