Reputation: 718
I have used custom ContentProvider
, but i am confused about its methods execution.
ContentProvider provide following methods
I have used LoaderManager
for background execution of query() method.
Now my question is insert() or update() methods execution is Sychronous or Asynchronous ?
Upvotes: 3
Views: 41
Reputation: 1007124
At the level of a ContentProvider
, insert()
and update()
are synchronous.
At the level of a ContentResolver
— which you use for communicating with a ContentProvider
— insert()
and update()
are also synchronous.
Upvotes: 2