public boolean isFixedView(View v){
{
    ArrayList<FixedViewInfo> where=mHeaderViewInfos;
    int len=where.size();
    for (int i=0; i < len; ++i) {
      FixedViewInfo info=where.get(i);
      if (info.view == v) {
        return true;
      }
    }
  }
{
    ArrayList<FixedViewInfo> where=mFooterViewInfos;
    int len=where.size();
    for (int i=0; i < len; ++i) {
      FixedViewInfo info=where.get(i);
      if (info.view == v) {
        return true;
      }
    }
  }
  return false;
}

public boolean isFixedView ( View v ) { { ArrayList < FixedViewInfo > where = mHeaderViewInfos ; int len = where . size ( ) ; for ( int i = 0 ; i < len ; ++ i ) { FixedViewInfo info = where . get ( i ) ; if ( info . view == v ) { return true ; } } } { ArrayList < FixedViewInfo > where = mFooterViewInfos ; int len = where . size ( ) ; for ( int i = 0 ; i < len ; ++ i ) { FixedViewInfo info = where . get ( i ) ; if ( info . view == v ) { return true ; } } } return false ; }
check this view is fixed view ( ex > header & footer ) or not .
