Android BaseAdapter 应用实例
2010-06-12 19:52:00 来源:WEB开发网核心提示:holder.appName.setText(labelName);}Drawable icon = appInfo.loadIcon(pm);if (icon != null) {holder.appIcon.setImageDrawable(icon);}}return convertView;}public vo
holder.appName.setText(labelName);
}
Drawable icon = appInfo.loadIcon(pm);
if (icon != null) {
holder.appIcon.setImageDrawable(icon);
}
}
return convertView;
}
public void remove(int position){
mAppList.remove(position);
this.notifyDataSetChanged();
}
}
原文地址:http://fonter.javaeye.com/blog/674971
Tags:Android BaseAdapter 应用
编辑录入:coldstar [复制链接] [打 印]更多精彩
赞助商链接