In android, I usually use MyAdapter extends ArrayAdapter
to create view for the ListView
, and as a result, I have to override the function
public View getView(int position, View convertView, ViewGroup parent) {
// somecode here
}
However, i don't know exactly what convertView
and parent
do! Does anyone have a suggestion? More detail, more help! Thanks!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…