We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如题,当使用Adapter.notifyItemChanged(position, payload) 带上 payload 参数时。会调用
Adapter.notifyItemChanged(position, payload)
public void onBindViewHolder(VH holder, int position, List<Object> payloads)
从而可以实现只刷新这个 Item 中的某个控件的作用。 我们的库里面没有对这个方法重新,只重写了
public abstract void onBindViewHolder(VH holder, int position);
需要刷新整个 Item 不太方便。需要自己在 Adapter 里面重新,对于加了 Header 了的,处理 position 还容易出错,可以建议直接加到你们库里面去。
The text was updated successfully, but these errors were encountered:
恩,好的,感谢建议,后续我们会进行改进。
Sorry, something went wrong.
#500 待优化
No branches or pull requests
如题,当使用
Adapter.notifyItemChanged(position, payload)
带上 payload 参数时。会调用从而可以实现只刷新这个 Item 中的某个控件的作用。
我们的库里面没有对这个方法重新,只重写了
需要刷新整个 Item 不太方便。需要自己在 Adapter 里面重新,对于加了 Header 了的,处理 position 还容易出错,可以建议直接加到你们库里面去。
The text was updated successfully, but these errors were encountered: