SyncAdapter without a ContentProvider

前端 未结 2 1347
太阳男子
太阳男子 2020-11-30 23:13

I want to implement a SyncAdapter for a content I want to synchronize with a server. It seems that to do so, you need a ContentProvider registered for the authority you spec

2条回答
  •  日久生厌
    2020-11-30 23:46

    Now, even the official documentation by Google suggest that you use a stub (dummy) ContentProvider.

    https://developer.android.com/training/sync-adapters/index.html

提交回复
热议问题