开发者

Cursory requery doesn't refresh contents

I have implemented a ContentProvider for my app. I call startManagingCursor for my Activity. The View doesn't update.

So I go into debug mode and call cursor.requery manually only to see that the contents of the cursor doesn't refresh, and the original values are still there. From the ContentProvider I call notifyChange(contentUri). the c开发者_开发知识库ontentUri is the same as was used in cursor.query originally.

Am I doing something wrong? For now, I have to manually reconstruct the cursor each time, instead of calling simply requery on it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜