A quick question:
In ListView I use this code:
list.addHeaderView(headerView);
How to deal with it when working on
How about checking for the "0" index element in your adapter? You can inflate the custom view for the first one.
@Override
public View getView(int position, View convertView, ViewGroup parent) {
View view = convertView;
if(view==null){
if(position==0){
// ...inflate header view
}else{
// ...do as usual
Haven't tested it, but should work.