On Mon, May 9, 2011 at 8:03 AM, laborg <gerhard.aig...@gmail.com> wrote: > So yes, SharedPreferences.Editor.commit() was there since 1.0, but > between 2.2 and 2.3 the implementation changed to be able to handle > notifying listeners on the main thread. The difference between apply() > and commit() is that the former enqueues the writing to the file in a > separate thread.
Ah, I see where you're coming from. My apologies for the confusion. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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