@emilsjolander In my case, the header view will be regard as a part of the hierarchy in ListView. When I want to get the i-th item in the adapter, I should use "position - getHeaderViewsCount()"(position is the position of view in listview".