Content Provider : It's query time - Android Data Persistence Tutorial - Part 13

Опубликовано: 01 Октябрь 2024
на канале: Codetutor
4,997
63

In this video we discuss about the implementation of onCreate and query () methods of Content Provider. We get started by discussing what is the purpose on onCreate method and what it can be used for. Then later we delve in to implementation of query method. It is here we get a glimpse of usage of UriMatcher to resolve the CONTENT_URI to selectively return appropriate Data types

Follow me on Twitter:   / anilvdeshpande  
Source code on Github: https://github.com/AnilDeshpande/DBDe...