Open i-petro opened 9 years ago
Hi, i faced the same issue and fixed it by changing:
PageFragment pageFragment = mAdapter.getFragment(mViewPager.getCurrentItem());
in MainActivity on line 116 to:
PageFragment pageFragment = (PageFragment) getSupportFragmentManager().findFragmentByTag(
"android:switcher:" + R.id.viewPager + ":" + mViewPager.getCurrentItem());
Amazing support library example, but SwipeRefreshLayout do not work after change screen orientation to landscape. Please, fix it