android-viewpager-transformers icon indicating copy to clipboard operation
android-viewpager-transformers copied to clipboard

Some transformers failing hard according to offscreenpage limit for your view pager

Open mrtcnnccn opened this issue 4 years ago • 2 comments

https://github.com/mrtcnnccn/bugreprod

Check this project. It uses CubeOutTransformation with offscreenpage of 3. Right side click shows next page. Left side click shows previous page. When you are at page 3, right click will cause left click for page 0. Very problematic and I cant trust any of the transformations, they may fail for a combination of offscreen limit and your current setup.

mrtcnnccn avatar Mar 03 '20 08:03 mrtcnnccn

I will take a look @mrtcnnccn . Thanks for the effort.

geftimov avatar Mar 03 '20 10:03 geftimov

Thanks for that @geftimov ! I also reported an issue for viewpager because it looks like a deeper problem in android not because of your transformation source code.

https://issuetracker.google.com/issues/150626928

mrtcnnccn avatar Mar 03 '20 10:03 mrtcnnccn