Comments (5)
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.
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.
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.
Thanks, this patch fixed the issue..
from android-pulltorefresh.
Closed with bef2a2a
from android-pulltorefresh.
Related Issues (20)
- PullToRefreshListView的GridView,分页时,下一页如果只有一个数据不能马上显示,需要稍微往上拖动下,再往下拖动才可显示出数据,是怎么回事呢? HOT 2
- Tap to refresh always showing HOT 3
- How to set Typeface of text in list HOT 6
- Pull the bottom HOT 1
- Throwing an Exception in this Demo HOT 2
- mLastMotionY not correctly set HOT 2
- expandable list view HOT 1
- Listview on ItemClick gives wrong position HOT 8
- scroll problem HOT 1
- Lag when pulling, (lazy loading image).
- NullPointer when clicking on list items HOT 1
- Works only with linked list HOT 4
- Pull to refresh effect is not working HOT 1
- How to show pull-to-refresh automatically? HOT 3
- Sometimes getting tap to refresh HOT 2
- failed to disable Tap to refresh HOT 1
- Boundary instability issue
- Fast scrolling jump to first visible row
- Possible to add "Load More" button at footer view to loat more data?
- the activity will crashed when I pull to refresh crazily HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-pulltorefresh.