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

如何根据当前滑动的位置定位那个Cell在屏幕中 #183

Open
SturgeonDu opened this issue Nov 28, 2024 · 1 comment
Open

如何根据当前滑动的位置定位那个Cell在屏幕中 #183

SturgeonDu opened this issue Nov 28, 2024 · 1 comment

Comments

@SturgeonDu
Copy link

SturgeonDu commented Nov 28, 2024

我有个VerticalLoopScroll,基本上每个cell都会超过Content的高度且每个Cell的高度不一样,现在想通过滑动的位置定位当前是哪一个cell在显示,有没有什么好的办法。

@SturgeonDu SturgeonDu changed the title Current 如何根据当前滑动的位置定位那些Cell在屏幕中 Nov 28, 2024
@SturgeonDu SturgeonDu changed the title 如何根据当前滑动的位置定位那些Cell在屏幕中 如何根据当前滑动的位置定位那个Cell在屏幕中 Nov 28, 2024
@SturgeonDu SturgeonDu reopened this Nov 28, 2024
@SturgeonDu
Copy link
Author

已解决,使用GetLastItem

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