2015-04-17 159 views

回答

2

您可以使用PICASO库为

使用

下面写一行在适配器

Picasso.with(上下文).load( “您的网络UTL”)。到(ImageView的);

这不会阻止乌尔UI

看看那个http://square.github.io/picasso/

1

毕加索库添加到您的项目,该代码添加到您的适配器的Getview方法,你尝试添加组ImageResource。

Picasso.with(context) 
     .load(imageUrl_some_static_link) 
     .placeholder(R.drawable.image_name_in_your_case_bubdub).into(your_imageview) 

希望这有助于欢呼