Since updating the AHViewPager libraryI have been getting increasing reports from users. Anyone have any input as to what is causing it?
B4X:
java.lang.ArithmeticException: divide by zero
at de.amberhome.viewpager.ViewPagerTabs.higlightTab(ViewPagerTabs.java:301)
at de.amberhome.viewpager.ViewPagerTabs.offsetChildren(ViewPagerTabs.java:579)
at de.amberhome.viewpager.ViewPagerTabs.onPageScrolled(ViewPagerTabs.java:559)
at android.support.v4.view.ViewPager.onPageScrolled(ViewPager.java:1647)
at android.support.v4.view.ViewPager.pageScrolled(ViewPager.java:1585)
at android.support.v4.view.ViewPager.performDrag(ViewPager.java:2019)
at android.support.v4.view.ViewPager.onTouchEvent(ViewPager.java:1922)
at de.amberhome.viewpager.CustomViewPager.onTouchEvent(CustomViewPager.java:25)
at android.view.View.dispatchTouchEvent(View.java:7461)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2264)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1995)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2270)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2010)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2270)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2010)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2270)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2010)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2270)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2010)
at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2186)
at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1516)
at android.app.Activity.dispatchTouchEvent(Activity.java:2466)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2134)
at android.view.View.dispatchPointerEvent(View.java:7641)
at android.view.ViewRootImpl.deliverPointerEvent(ViewRootImpl.java:3676)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:3607)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:4802)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:4781)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:4873)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)
at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:174)
at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:4852)
at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:4892)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
at android.view.Choreographer.doCallbacks(Choreographer.java:562)
at android.view.Choreographer.doFrame(Choreographer.java:530)
at android.view.Choreographer$FrameHandler.handleMessage(Choreographer.java:664)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5293)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)