从API。
public abstract View getView (int position, View convertView, ViewGroup parent)
convertView-尽可能重用的旧视图。注意:使用前,应检查此视图是否为非null并具有适当的类型。如果无法转换此视图以显示正确的数据,则此方法可以创建一个新视图。
因此,如果已经为该特定索引调用了getView,则
convertView将是该第一次调用返回的View对象。
您可以做类似的事情。
if(!(convertView instanceof ImageView)){ convertView = new ImageView(); //get image from whereever} else {} // ImageView already created


