Skip to content

优化结构 #1

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

Merged
merged 1 commit into from
Aug 4, 2020
Merged

优化结构 #1

merged 1 commit into from
Aug 4, 2020

Conversation

coderlinxx
Copy link
Owner

将分页工具条由collectionView更换为scrollView;
由于 cell 的重用/缓存池机制, 当两个 cell 切换位置过远, 超过一屏时, oldCell不显示在当前屏幕, 会进入缓存池, 取到的值是 nil, 需要特殊处理来让我们准确取到这个 cell.

@coderlinxx coderlinxx merged commit 50adc78 into master Aug 4, 2020
@coderlinxx
Copy link
Owner Author

merge branch

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

Successfully merging this pull request may close these issues.

1 participant