ScrollView的滑动监听

scrollView.setScrollViewListener(new ScrollViewListener() {  

    @Override  
    public void onScrollChanged(CustomScrollView scrollView, int x, int y,  
            int oldx, int oldy) {  
        // TODO Auto-generated method st  
    }  
}); 

PS:ScrollView嵌套ListView系列问题
滑动到顶部还是底部的判断以及滑动停止的判断请参照:
http://blog.csdn.net/cl18652469346/article/details/53170126
http://blog.csdn.net/cl18652469346/article/details/53170210
ScrollView嵌套ListView滑动冲突解决方案:
http://blog.csdn.net/cl18652469346/article/details/53171400

你可能感兴趣的:(Android)