cahyowhy
cahyowhy

Reputation: 563

Accessing Content provider android studio

i wanna acessing content provider to save and store data from web service, so when the user open the apps the data still saved. ( i just copied and manipulated script from sunshine cause i didnt know content provider work :( )

this is my script for content provider

and this is for content adapter

how to acessing content provider from content adapter?? thankss

Upvotes: 1

Views: 332

Answers (1)

Vaiden
Vaiden

Reputation: 16122

Google has a piece on this pattern: https://developer.android.com/guide/topics/providers/content-provider-creating.html

Upvotes: 1

Related Questions