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

对知乎适配器的两个方法不清楚 #62

Open
Igotyouinmysight opened this issue Nov 29, 2017 · 2 comments
Open

对知乎适配器的两个方法不清楚 #62

Igotyouinmysight opened this issue Nov 29, 2017 · 2 comments

Comments

@Igotyouinmysight
Copy link

@Override
public void loadingStart() {
    if (loadingMore) return;
    loadingMore = true;
    notifyItemInserted(getLoadingMoreItemPosition());
}

@Override
public void loadingfinish() {
    if (!loadingMore) return;
    final int loadingPos = getLoadingMoreItemPosition();
    loadingMore = false;
    notifyItemRemoved(loadingPos);
}

请问 这两个方法的意义是什么,我尝试去掉后运行 感觉也没有什么变化

@JerryMissTom
Copy link

推测此功能是刷新时添加刷新的信息,弱网环境下可能会发现区别。

@Igotyouinmysight
Copy link
Author

好的 谢谢Thanks♪(・ω・)ノ

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

2 participants