We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在4.0以下的listview中存在这样的问题
if (Build.VERSION.SDK_INT >= 14) { return !content.canScrollVertically(-1); } else { if (viewGroup instanceof ScrollView || viewGroup instanceof AbsListView) { return viewGroup.getScrollY() == 0; } }
viewGroup.getScrollY()这里应该是一直返回的是0
The text was updated successfully, but these errors were encountered:
这段代码有问题的。ListView 用 getScrollY() 方式获取始终是0
ListView
getScrollY()
Sorry, something went wrong.
Fixed now.
No branches or pull requests
在4.0以下的listview中存在这样的问题
viewGroup.getScrollY()这里应该是一直返回的是0
The text was updated successfully, but these errors were encountered: