Skip to content

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

@zhengshubin

Description

@zhengshubin

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

    }
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions