Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScrollableLayout下viewpager里面如果有listview,滑动顶上去后,无法下拉显示头部 #16

Open
hloong opened this issue Apr 15, 2017 · 5 comments

Comments

@hloong
Copy link

hloong commented Apr 15, 2017

ScrollableLayout下viewpager里面如果有listview,滑动顶上去后,无法下拉显示头部

@lalozhang
Copy link

解决了么?

@hloong
Copy link
Author

hloong commented May 3, 2017

没有,换了另外一种做法

@JasonBtc
Copy link

@hloong 请问用了什么其他方法?

@azhu003
Copy link

azhu003 commented Mar 14, 2018

我也遇到这个问题了 请问下怎么解决的呢

@langyazhouwl
Copy link

增加一下 这几行代码 貌似可以
viewpager.addOnPageChangeListener(new ViewPager.SimpleOnPageChangeListener() {
@OverRide
public void onPageSelected(int position) {
indicator.setCurrentItem(position);
ScrollAbleFragment fragment = getCurrentFragment();
if (fragment != null) {
scrollableLayout.getRefreshableView()
.getHelper()
.setCurrentScrollableContainer(fragment);
}
}
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants