Permalink
Browse files

Vertical scrolling not working in Android 4.1 (Jelly Bean). "onAttach…

…edWindow()" method in PullToRefreshListView needs to call "super.onAttachedToWindow()".
  • Loading branch information...
1 parent f090768 commit 16484755e56aeb5fd06494a88e3e61a4d932a066 @aheuermann aheuermann committed Jul 1, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 pulltorefresh/src/com/markupartist/android/widget/PullToRefreshListView.java
@@ -116,6 +116,7 @@ private void init(Context context) {
@Override
protected void onAttachedToWindow() {
+ super.onAttachedToWindow();
setSelection(1);
}

1 comment on commit 1648475

@wudouxingjun

setSelection(1) cannot addto to this method???

Please sign in to comment.