Coder Social home page Coder Social logo

Comments (5)

johannilsson avatar johannilsson commented on May 24, 2024

Hi, thank you for the report. I don't have access to any tablet I'm afraid, and the emulator is terrible slow. Can you reproduce the crash in the example app too?

from android-pulltorefresh.

barisatbas avatar barisatbas commented on May 24, 2024

Full Exception output :

10-31 14:04:20.730: E/AndroidRuntime(6179): FATAL EXCEPTION: main
10-31 14:04:20.730: E/AndroidRuntime(6179): java.lang.IllegalArgumentException: historyPos out of range
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.view.MotionEvent.nativeGetAxisValue(Native Method)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.view.MotionEvent.getHistoricalY(MotionEvent.java:1828)
10-31 14:04:20.730: E/AndroidRuntime(6179): at com.markupartist.android.widget.PullToRefreshListView.applyHeaderPadding(PullToRefreshListView.java:224)
10-31 14:04:20.730: E/AndroidRuntime(6179): at com.markupartist.android.widget.PullToRefreshListView.onTouchEvent(PullToRefreshListView.java:195)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.view.View.dispatchTouchEvent(View.java:4621)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1554)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1320)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1560)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1333)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1560)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1333)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1560)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1333)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1560)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1333)
10-31 14:04:20.730: E/AndroidRuntime(6179): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1863)
10-31 14:04:20.730: E/AndroidRuntime(6179): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1287)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.app.Activity.dispatchTouchEvent(Activity.java:2309)
10-31 14:04:20.730: E/AndroidRuntime(6179): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1836)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.view.View.dispatchPointerEvent(View.java:4689)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.view.ViewRoot.deliverPointerEvent(ViewRoot.java:2365)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.view.ViewRoot.handleMessage(ViewRoot.java:2034)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.os.Handler.dispatchMessage(Handler.java:99)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.os.Looper.loop(Looper.java:132)
10-31 14:04:20.730: E/AndroidRuntime(6179): at android.app.ActivityThread.main(ActivityThread.java:4028)
10-31 14:04:20.730: E/AndroidRuntime(6179): at java.lang.reflect.Method.invokeNative(Native Method)
10-31 14:04:20.730: E/AndroidRuntime(6179): at java.lang.reflect.Method.invoke(Method.java:491)
10-31 14:04:20.730: E/AndroidRuntime(6179): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844)
10-31 14:04:20.730: E/AndroidRuntime(6179): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
10-31 14:04:20.730: E/AndroidRuntime(6179): at dalvik.system.NativeStart.main(Native Method)

Sample Project
https://rapidshare.com/files/1926490470/PullToRefreshListViewTest.rar

from android-pulltorefresh.

johannilsson avatar johannilsson commented on May 24, 2024

Thank you, this looks related to #37. Could you try the patch that's posted on that issue and see how that works for you?

from android-pulltorefresh.

barisatbas avatar barisatbas commented on May 24, 2024

Thanks, this patch fixed the issue..

from android-pulltorefresh.

johannilsson avatar johannilsson commented on May 24, 2024

Closed with bef2a2a

from android-pulltorefresh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.