Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Architecture Framework connect to default android DB #30

Open
Avijit-Bose opened this issue Mar 23, 2019 · 0 comments
Open

Android Architecture Framework connect to default android DB #30

Avijit-Bose opened this issue Mar 23, 2019 · 0 comments

Comments

@Avijit-Bose
Copy link

Could you please let me know how to connect, retrieve, update and delete data to android default database table like "ContactsContract.Contacts" using android architecture component using Room and Livedata.

Presently I am using getLoaderManager() with CursorLoader, which is deprecated. I want to update my working code with android architecture components and AndroidX.

A simple example will be very useful.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant