Well, the question is very clear, I need to know which method of the adapter is what determines how many elements a listview will have.
When I speak of adapter, I mean baseadapter, to this:
@Override
public int getCount() {
return null ;
}
@Override
public Object getItem(int position) {
return null;
}
@Override
public long getItemId(int position) {
return 0;
}
@Override
public View getView(int position, View convertView, ViewGroup parent) {
return convertView;
}