如何检测Android ListView中的过度滚动?

Ale*_*xey 15 android listview overscroll

当用户滚动列表视图时,我想显示/隐藏视图.

如何检测过度滚动?有听众吗?我试过OnScrollListener但它只通知onScrollStateChangedonScroll

Sea*_*ean 18

您可以覆盖的方法onOverScrolled,因为它respond to the results of an over-scroll operation.

  • 确实.你必须将它子类化并添加新类而不是常规ListView (3认同)