We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
viewpage+fragment,fragment 中有listview, 如果有10条数据需要展示。 在只是下拉刷新的时候可以正常显示数据。 如果加上了上拉加载,就能展示一个屏幕的数据。 其他的都不展示了。
private void refersh() { mPtrFrame.disableWhenHorizontalMove(true); mPtrFrame.setPtrHandler(new PtrDefaultHandler2() {
@Override public boolean checkCanDoLoadMore(PtrFrameLayout frame, View content, View footer) { return mPagerAdapter.checkCanDoLoadMore(); } @Override public void onLoadMoreBegin(PtrFrameLayout frame) { mPagerAdapter.updateData(mFragmentViewPager.getCurrentItem()); } @Override public boolean checkCanDoRefresh(PtrFrameLayout frame, View content, View header) { return mPagerAdapter.checkCanDoRefresh(); } @Override public void onRefreshBegin(PtrFrameLayout frame) { mPagerAdapter.updateData(); } }); }
The text was updated successfully, but these errors were encountered:
大兄弟你解决了吗?我现在也遇到了这个问题,请教下
Sorry, something went wrong.
No branches or pull requests
viewpage+fragment,fragment 中有listview, 如果有10条数据需要展示。 在只是下拉刷新的时候可以正常显示数据。 如果加上了上拉加载,就能展示一个屏幕的数据。 其他的都不展示了。
private void refersh() {
mPtrFrame.disableWhenHorizontalMove(true);
mPtrFrame.setPtrHandler(new PtrDefaultHandler2() {
The text was updated successfully, but these errors were encountered: