Picasso loading of image spawned inside AsyncTask
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: So I am trying to use the Picasso Library for image downloading and caching. In order to get the contactUri to pass to Picasso I need to make a query to the Contacts Content Provider . Since I don't want to block the main UI thread to get the contactId, I have put this in an AsyncTask . And once I get that contactId, I make the call to Picasso in the onPostExecute() method of the AsyncTask . However, I am noticing a flickering that shows up when I scroll through my ListView quickly. It seems to me that there is an issue with the ViewHolder