Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CursorLoaders not updated? #1

Open
peter-tackage opened this issue Mar 15, 2013 · 0 comments
Open

CursorLoaders not updated? #1

peter-tackage opened this issue Mar 15, 2013 · 0 comments

Comments

@peter-tackage
Copy link

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;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant