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

丰富sample用法 #187

Open
qiankanglai opened this issue Feb 12, 2025 · 0 comments
Open

丰富sample用法 #187

qiankanglai opened this issue Feb 12, 2025 · 0 comments

Comments

@qiankanglai
Copy link
Owner

由于本身LoopScrollRect的接口暴露相对底层,实际项目用起来普遍需要一定二次封装;同时有些接口(譬如RefillCellsRefreshCell)区分度不够清晰,容易引起误用。

这里先整理下常见项目用法,初期以sample形式提供参考、等稳定之后提供到LoopScrollRect内。

  • issue #170: ScrollToCell 移动到中间、上边或者移动到可视范围内
  • issue #186 : 统一刷新逻辑+当totalCount变化时,尽量保持元素固定
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

1 participant