Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zhengshubin opened this issue Jul 25, 2018 · 0 comments
Open

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

zhengshubin opened this issue Jul 25, 2018 · 0 comments

Comments

@zhengshubin
Copy link

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);

    }
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant