Skip to content

Commit

Permalink
Fixed ViewPagerTabRecyclerViewFragment to apply a workaround for #117.
Browse files Browse the repository at this point in the history
  • Loading branch information
ksoichiro committed Jun 14, 2015
1 parent b565522 commit b5a4387
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -54,6 +54,12 @@ public void run() {
}
});
}

// TouchInterceptionViewGroup should be a parent view other than ViewPager.
// This is a workaround for the issue #117:
// https://github.com/ksoichiro/Android-ObservableScrollView/issues/117
recyclerView.setTouchInterceptionViewGroup((ViewGroup) parentActivity.findViewById(R.id.root));

recyclerView.setScrollViewCallbacks((ObservableScrollViewCallbacks) parentActivity);
}
return view;
Expand Down

0 comments on commit b5a4387

Please sign in to comment.