A little bug! if the listview have a headerview ,onItemClick give a wrong position value !
zzhangxiaoyun opened this issue · 1 comments
zzhangxiaoyun commented
a little bug !
add this in onItemClick
rawPosition = rawPosition -getHeaderViewsCount();
if(rawPosition<0)return;
weizai commented
yes, but however the last item in rowPosition can not be clicked