ContentObserver onChange

后端 未结 3 1935
醉话见心
醉话见心 2020-12-15 11:42

The documentation of the ContentObserver is not clear to me. On which thread is the onChange of a ContentObserver called?

I checked and it is not the thread where yo

3条回答
  •  天命终不由人
    2020-12-15 11:43

    This old question seems to touch on your issue:

    How to observe contentprovider change? android

    Looks like you should create a new thread, running in its own Service, where the onChange method will be called.

提交回复
热议问题