Content Observer onChange method called twice after 1 change in cursor

前端 未结 5 1749
逝去的感伤
逝去的感伤 2020-12-30 03:11

I have an app in which I am hoping to send details in the android contact list to a remote server, so that the user can see his contacts online. To do this I want to notify

5条回答
  •  心在旅途
    2020-12-30 03:33

    Faced the same problem in my own code and found out that I was calling registerContentObserver() twice. Although it was for the exact same URI and within the same class my onChange(boolean selfChange) method was called twice as a result.

提交回复
热议问题