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

每个item view中组件相差很大,可以复用吗 #20

Open
vanney9 opened this issue Nov 4, 2019 · 1 comment
Open

每个item view中组件相差很大,可以复用吗 #20

vanney9 opened this issue Nov 4, 2019 · 1 comment

Comments

@vanney9
Copy link

vanney9 commented Nov 4, 2019

你好,比方说item A的view的subview由 1,2,3,4构成;item B的view的subview由 5,6,7构成;可以使用item B来复用item A吗

@HarrisonXi
Copy link
Contributor

可以是可以,但是复用这件事你要考虑的是综合消耗,复用时隐藏1234并显示567的计算消耗,不复用带来的内存消耗,哪个是你更希望的。

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