android DB notify

 也许很多人使用ContentProvider 的时候可能会遇到 notify无法刷新UI的问题

。。。。其实诀窍在于  setNotificationUri

比如我们一个query语句,想要在insert的时候调用的notifychange刷新,则需要在query 得到的cursor 中设置

cursor.setNotificationUri(Uri, null);

原文地址:https://www.cnblogs.com/pandans/p/2362886.html