Monday, August 1, 2011

Android ContentObserver not getting notify ?

Today, I ran into a problem where my content observer is not getting notify when I delete something. After hours of searching I realized, sometime you need to set the
notifyForDescendents parameter as true. Weird but it worked!

Eg.

registerContentObserver(uri, true, observer);

No comments:

Post a Comment