监听 ScrollView 滑动到底部
scrollView.setOnTouchListener(new OnTouchListener() {@Overridepublic boolean onTouch(View v, MotionEvent event) {// 获取int y = scrollView.getScrollY();int[] location = new int[2];mFooterView.getLocationInWindow(location);if ( y >= location[1] + mFooterView.getHeight()) {System.out.println("----------底部");}return false;}});
?