由于需要使用了PullToRefreshListView,在4.0及其以下的版本上使用都是好的,但是在4.1的系统上使用,发现不能滑动不能点击,经过查找发现需要在PullToRefreshListView.java中添加
@Override
protected void onAttachedToWindow() {
// TODO Auto-generated method stub
super.onAttachedToWindow();
setSelection(1);
}
这样即可