I have written a custom subclass of MatrixCursor which handles some behind the scenes data updates (from the network) asynchronously. When new data has been added to the data store (not sqlite), the MatrixCursor subclass calls onChange(true). I have a dataSetObserver registered as
documentsCursor.registerDataSetObserver(new MapDataObserver()); with private class MapDataObserver extends DataSetObserver { @Override public void onChanged(){ super.onChanged(); Log.v(TAG, "DataSetObserver onChanged()"); updateOverlays(); } } However, the MapDataObserver function onChanged() is never called, and I've tested that execution of onChange(true) definitely happens. What is missing here? Why is MapDataObserver() never updated, and is my understanding that calling onChange(true) on a cursor should update it's registered DataObservers ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en