AQuery 使用的图像不显示
我正在使用进度条和 AQuery Image
数据不是出来的,而是进步的。
==== 代码 ====
数据中的 ArrayList arrData
public View getView(int position, View convertView, ViewGroup parent) {
@SuppressWarnings("unused")
URLConnection connection;
AQuery localAQuery = new AQuery(convertView);
if(convertView == null){
convertView = inflater.inflate(R.layout.toplist, parent, false);
}
//ImageView mImage = (ImageView)convertView.findViewById(R.id.iconItem);
((AQuery)localAQuery.id(R.id.gameTitle)).text(arrData.get(position).getGameTitle());
((AQuery)localAQuery.id(R.id.gameContent)).text(arrData.get(position).getGameContent());
((AQuery)localAQuery.id(R.id.gamePay)).text(arrData.get(position).getRewardPrice());
if(arrData.get(position).getImage().equals(""))
((AQuery)localAQuery.id(R.id.iconItem)).image(R.drawable.logo);
//mImage.setImageResource(R.drawable.logo);
else {
((AQuery)localAQuery.id(R.id.iconItem)).progress(R.id.progress).image(arrData.get(position).getImage(), true, false, 0, 0, null, AQuery.FADE_IN_NETWORK, 1.0f);
}
return convertView;
}