On Wed, Jan 25, 2012 at 9:06 AM, elDoudou <the.edouard.merc...@gmail.com> wrote: > If you implement "Fragment.getContext()" the following way, I think > that it works:
getView().getContext() may not return a context that is safe to use from a background thread. It could easily be the last Activity associated with that View, and that is not safe to be used from a background thread. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.7 Available! -- 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