示例#1
0
 @Override
 public long generateHeaderId(int position) {
   URLogs.d("position--" + position + "   " + getItem(position));
   if (getItem(position).getTitle().length() > 0) return getItem(position).getTitle().length();
   else return -1;
 }