1

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

Nir Duan
  • 6,164
  • 4
  • 24
  • 38
cahyowhy
  • 553
  • 2
  • 9
  • 26

1 Answers1

1

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

Vaiden
  • 15,728
  • 7
  • 61
  • 91