DroidsOnRoids / PageTransformerDemo

Simple example of screen transitions with ViewPager and PageTransformer.
http://www.thedroidsonroids.com/blog/android/how-to-create-fancy-screen-transitions-used-in-walkthrough-in-android-google-drive-app/
MIT License
36 stars 5 forks source link

java.lang.ArrayIndexOutOfBoundsException #4

Open Ahmad7ijazi opened 7 years ago

Ahmad7ijazi commented 7 years ago

at com.solutiontab.dalilk4ielts.Walkthrough.ColorTransformer.transformPage (ColorTransformer.java:39) at com.solutiontab.dalilk4ielts.Walkthrough.BasePageTransformer.transformPage (BasePageTransformer.java:23) at android.support.v4.view.ViewPager.onPageScrolled (ViewPager.java:1935) at android.support.v4.view.ViewPager.pageScrolled (ViewPager.java:1862) at android.support.v4.view.ViewPager.performDrag (ViewPager.java:2370) at android.support.v4.view.ViewPager.onTouchEvent (ViewPager.java:2262) This issue

sebztas commented 7 years ago

It seems that you have copied the code from the sample, but ColorTransformer is dependent on MainActivity.Content enum. Could you send the ViewPager creation code and write more detailed steps to reproduce this crash?

koral-- commented 5 years ago

This project is no longer maintained if someone is interested in picking it up please drop a line to opensource@droidsonroids.pl