Isn't that an overkill ? create a service to share a single cursor between 2 activities ? if it were a generic service that i used to share many cursor from many queries (lets say it's a query management service) and several activities will use it then i can understand the efficiency and code simplicity in it, for more simple examples it sounds like an overkill.
On Apr 7, 5:39 pm, "Mark Murphy" <mmur...@commonsware.com> wrote: > > Is there another sharing method that i don't know off > > Use a Service. Have the Service manage the querying. Have activities > retrieve the Cursor from the Service using an API supplied via > bindService(). > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android App Developer Books:http://commonsware.com/books.html -- 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 To unsubscribe, reply using "remove me" as the subject.