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

请问,添加一条新的数据,需要重新计算指标吗? #45

Open
ConerK opened this issue Nov 24, 2019 · 1 comment
Open

Comments

@ConerK
Copy link

ConerK commented Nov 24, 2019

datas添加一条实体数据后,调用adapter.addFooterData(datas),还需要调用DataHelper.calculate(datas)这个吗?如果调用的话,全量重新计算一遍很慢

@ForevereBest
Copy link

里面有一个方法可以修改一个值,changeItem
datas.set(position, data);
notifyDataSetChanged();

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