我如何测试用户是否ListView
在一直向上滚动时向上滚动?
answersListView.setOnScrollListener(new OnScrollListener() {
@Override
public void onScrollStateChanged(AbsListView view,int scrollState){
// TODO Auto-generated method stub
}
@Override
public void onScroll(AbsListView view,int firstVisibleItem, int visibleItemCount,
int totalItemCount) {
// TODO Auto-generated method stub
}
});