View Single Post
Old June 29th, 2014, 10:39 AM
Codex Codex is offline
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Content Provider, LoaderManager

Hello, i have a counter application, and list of count items in my database. I was using SimpleCursorAdapter with ListActivity and and it was easy to populate items on Adapter. i was doing database operations using sql queries.

Now i switched to LoaderManager and ContentProvider. I read Chapter 8, my PROBLEM is i constructed my content provider, but when i update any data using ContentResolver(contentProvider) , it is tooo slow. I have about 5 items displayed on my screen, each has increase buttons (

So if i click plus button, i update value with value+1. Those are links for my ContentProvider, Database, MainActivity:

HELP with this contentProvider and Asynch LoaderManager thing, they are sooo slow. and i dont want to use depreciated startManagingCursor(cursor);

Last edited by Codex; June 29th, 2014 at 10:44 AM..