You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Am I correct in saying that when objects are created/update etc via the ContentManager/DatabaseHelper (see below), that any CursorLoaders that are associated with the corresponding ContentProvider URI aren't informed of the change in content? They only seem to operate correctly when created via the ContentProvider.
// Creates a Channel using the ContentManager: no content provider
private Channel createChannel(String url, SyndFeed feed, byte[] icon) {
Channel channel = new Channel(-1, url, feed.getTitle(), icon,
feed.getLink(), feed.getDescription(), feed.getLanguage(),
new byte[] {});
cm.createChannel(channel); // <---- No content URI, so content provider can't inform registered Cursors
return channel;
}
The text was updated successfully, but these errors were encountered:
Am I correct in saying that when objects are created/update etc via the ContentManager/DatabaseHelper (see below), that any CursorLoaders that are associated with the corresponding ContentProvider URI aren't informed of the change in content? They only seem to operate correctly when created via the ContentProvider.
// Creates a Channel using the ContentManager: no content provider
private Channel createChannel(String url, SyndFeed feed, byte[] icon) {
Channel channel = new Channel(-1, url, feed.getTitle(), icon,
feed.getLink(), feed.getDescription(), feed.getLanguage(),
new byte[] {});
cm.createChannel(channel); // <---- No content URI, so content provider can't inform registered Cursors
return channel;
}
The text was updated successfully, but these errors were encountered: