Buggy code:
public class PharmacyStatisticsActivity extends BaseActivity implements View . OnClickListener , CustomDateView . CustomDateViewHadSelectListener { private RadioGroup rg_period ; private TextView tv_date ; private TextView tv_total_income ; private TextView tv_drug_total_expenditure ; private TextView tv_net_profit ; private TextView tv_individual_average ; private TextView tv_total_trades ; private CustomDateView custom_date ; private Button btn_left_arrow ; private Button btn_right_arrow ; private StickyListHeadersListView lv_pharmacy ; private PharmacyStatisticsActivity . PharmacyStatisticsAdapter mAdapter ; private Date mDate ; private Date mStartDate ; private Date mEndDate ; private Employee mLoginEmployee ; private String mBillDataJsonString = "" ; private double mTotalIncome ; private ArrayList < Drug > mDrugList = new ArrayList < > ( ) ; private ArrayList < Finance > mFinanceList = new ArrayList < > ( ) ; private int mWesternDrugNum ; private int mChinesePatientDrugNum ; private int mChineseDrugNum ; private float mWesternDrugAmount ; private float mChinesePatientDrugAmount ; private float mChineseDrugAmount ; private boolean mIsShowComprehensive ; private boolean mIsShowOV ; private boolean mIsShowSaleDrug ; private boolean mIsShowNetProfit ; @ Override protected void onCreate ( Bundle savedInstanceState ) { } @ Override public void findView ( ) { } @ Override public void initMemberData ( ) { } private void refreshLayoutByData ( String billDataJsonString ) { } @ Override public void initView ( ) { } @ Override public void setListener ( ) { } private void getDrugStatisticsListAction ( ) { } private void getPaymentInfoListAction ( ) { } private void getPharmacyStatisticsByDate ( ) { } private void getBillingCountDrugAction ( ) { } @ Override public void onClick ( View v ) { } private void jumpToDrugCateogry ( int drugType ) { } private void jumpToRankingActivity ( int rankingType ) { } @ Override public void afterCustomDateSelect ( Date startDate , Date endDate ) { } private class PharmacyStatisticsAdapter extends BaseAdapter implements SectionIndexer , StickyListHeadersAdapter { private static final int TYPE_ITEM_0 = 0 ; private static final int TYPE_ITEM_1 = 1 ; private static final int TYPE_ITEM_2 = 2 ; @ Override public int getCount ( ) { } @ Override public int getViewTypeCount ( ) { } @ Override public int getItemViewType ( int position ) { } @ Override public Object getItem ( int position ) { } @ Override public long getItemId ( int position ) { } @ Override public View getView ( int position , View convertView , ViewGroup parent ) { } @ Override public Object [ ] getSections ( ) { } @ Override public int getPositionForSection ( int sectionIndex ) { } @ Override public int getSectionForPosition ( int position ) { } @ Override public View getHeaderView ( int position , View convertView , ViewGroup parent ) { PharmacyStatisticsActivity . PharmacyStatisticsAdapter . HeaderViewHolder holder = null ; if ( convertView == null ) { holder = new PharmacyStatisticsActivity . PharmacyStatisticsAdapter . HeaderViewHolder ( ) ; convertView = getLayoutInflater ( ) . inflate ( header_pharmacy_statistics , null ) ; holder . tv_header = ( ( TextView ) ( convertView . findViewById ( tv_header ) ) ) ; holder . tv_more = ( ( TextView ) ( convertView . findViewById ( tv_more ) ) ) ; convertView . setTag ( holder ) ; } else { holder = ( ( PharmacyStatisticsActivity . PharmacyStatisticsAdapter . HeaderViewHolder ) ( convertView . getTag ( ) ) ) ; } holder . tv_more . setVisibility ( GONE ) ; switch ( getSectionForPosition ( position ) ) { case 0 : holder . tv_header . setText ( drug_item ) ; break ; case 1 : holder . tv_header . setText ( drug_ranking ) ; break ; case 2 : <START_BUG> holder . tv_header . setText ( finance_statistics ) ; <END_BUG> holder . tv_more . setVisibility ( VISIBLE ) ; holder . tv_more . setOnClickListener ( new View . OnClickListener ( ) { @ Override public void onClick ( View v ) { Intent intent = new Intent ( PharmacyStatisticsActivity . this , FinanceStatisticsActivity . class ) ; intent . putExtra ( DOCTOR_STATISTICS_DATE , mDate ) ; intent . putExtra ( DOCTOR_STATISTICS_START_DATE , mStartDate ) ; intent . putExtra ( DOCTOR_STATISTICS_END_DATE , mEndDate ) ; intent . putExtra ( DOCTOR_STATISTICS_DURATION , rg_period . getCheckedRadioButtonId ( ) ) ; startActivity ( intent ) ; } } ) ; break ; } return convertView ; } @ Override public long getHeaderId ( int position ) { } private PharmacyStatisticsActivity . PharmacyStatisticsAdapter . BaseHolder createSection0Holder ( View convertView ) { } private PharmacyStatisticsActivity . PharmacyStatisticsAdapter . BaseHolder createSection1Holder ( View convertView ) { } private PharmacyStatisticsActivity . PharmacyStatisticsAdapter . BaseHolder createSection2Holder ( View convertView ) { } private void bindSection0Data ( PharmacyStatisticsActivity . PharmacyStatisticsAdapter . BaseHolder baseHolder , int position ) { } private void bindSection1Data ( View convertView , PharmacyStatisticsActivity . PharmacyStatisticsAdapter . BaseHolder baseHolder , int position ) { } private void bindSection2Data ( View convertView , PharmacyStatisticsActivity . PharmacyStatisticsAdapter . BaseHolder baseHolder , int position ) { } private void hideConvertView ( boolean isShow , View convertView ) { } class HeaderViewHolder { TextView tv_header ; TextView tv_more ; } private class BaseHolder { } private class ViewHolder0 extends PharmacyStatisticsActivity . PharmacyStatisticsAdapter . BaseHolder { ImageView iv_enter ; TextView tv_drug_type ; TextView tv_quantity ; TextView tv_price ; } private class ViewHolder1 extends PharmacyStatisticsActivity . PharmacyStatisticsAdapter . BaseHolder { TextView tv_title ; TextView tv_top_drug ; } private class ViewHolder2 extends PharmacyStatisticsActivity . PharmacyStatisticsAdapter . BaseHolder { TextView tv_item ; TextView tv_date ; TextView tv_amount ; TextView tv_doctor ; } } }

Fix:
holder . tv_header . setText ( pharmacy_flow ) ;