I have a vertical Viewpager in my App that swipe through fragments vertically. Is there an implementation that will allow me to have fragments with different layout_heights to appear one after another (just like listview)?
I have already tried following:
verticalViewPager.setClipToPadding(false);
verticalViewPager.setPageMargin(10);
But this technique sets padding for entire viewpager. I need padding to be set for individual fragments, so that they appear one-after-another with a small gap (eg. 10dp)
0 comments:
Post a Comment