github:
, , ,* The screenshots in the blog are from the Udacity Nanodegree Program: Become an Android Developer *
URI –
- Identify your provider
- Identify different types of data that the provider can work with
URI Structure –
When we want to check a URI tasks, we may have the below statement. But that can be tricky if a string has an integer ID at the end.
URIMatcher –
As long as the URI has an integer (“/#”) after the initial tasks path, this matcher will recognize it and associate it with the int constant TASK_WITH_ID.