cundong / HeaderAndFooterRecyclerView

A RecyclerView solution, support addHeaderView、addFooterView
Apache License 2.0
1.37k stars 321 forks source link

网络错误时footer点击事件无效 #46

Open zhengshubin opened 6 years ago

zhengshubin commented 6 years ago

RecyclerViewStateUtils.setFooterViewState(RealDataActivity.this, mRecyclerView, REQUEST_COUNT, LoadingFooter.State.NetWorkError, mFooterClick); //当网络错误重新点击或加载 private View.OnClickListener mFooterClick = new View.OnClickListener() { @Override public void onClick(View v) { Log.d(TAG, "onClick: "); RecyclerViewStateUtils.setFooterViewState(RealDataActivity.this, mRecyclerView, REQUEST_COUNT, LoadingFooter.State.Loading, null); mPresenter.onPageShowRealData(param);

    }
};