I think setPosts() needs to be called from onPostExecute(). It's probably safe to do this from doInBackground() 99.99% of the time but could cause hard-to-find thread-related crashes/bugs the other 0.01% of the time.