LambergaR / VerticalViewPager

Vertical implementation of Android ViewPager
MIT License
276 stars 134 forks source link

OnSizeHandler needs to check height not width #5

Open fbarnard opened 11 years ago

fbarnard commented 11 years ago

if (h != oldh) { recomputeScrollPosition(h, oldh, mPageMargin, mPageMargin); }

lorenzos commented 9 years ago

I can confirm that @ericbarch's commit solves the problem: the original class had issues on display rotation (wrong scroll position), and now it's all solved.