MaterialViewPager
MaterialViewPager copied to clipboard
Switching Fragmens
When i scroll down on a fragment and switch to other one, the second one starts from top but without the correct layout, i mean it starts like i have already scrolled...
Any suggestions?
Can you please send a screenshot or video please ?
yes that's true @florent37 . i faced this situation some time.
I ve noticed it when we have 2 tabs. The "left" one is scrollable (since theres content) and the "right" one is empty,(maybe only the first card over the image).
I will bring you an example ASAP.
@LinkOut you still facing this issue. if not how you solved this issue
@Ashok-Varma The problem is still there.
The solution i have found for now is not to let the other fragment be empty, since this happen only when a fragment is empty and you swith to it from a "swiped down" fragment.
getSupportFragmentManager 需要替换成 getChildFragmentManager使用