So, I have a content provider that maintains a list of movies.

Also, there is a service that runs in the background and refreshes the list 
of movies every five minutes.

Is there a good way to ensure no one accesses the content provider's list 
of movies while they are being refreshed?  I don't want an activity to get 
a partial list of movies.  

Thanks.




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

Reply via email to