Comments (5)
Hi, thank you for the report. It's hard to tell from the crash why this occurs. Can you provide an example app that triggers this or a description of how to trigger it in the example app?
from android-pulltorefresh.
Well I have investigate more and it seems that the problems occurs when i wrap my adapter into an EndlessAdapter from CWAC (https://github.com/commonsguy/cwac-endless) and give it to the PullToRefresh view, so I'm not sure if it's a problem of Endless wrapper or a problem of PullToRefresh.
I will try to report more info and log...
from android-pulltorefresh.
Closing this for now.
from android-pulltorefresh.
FATAL EXCEPTION: main
Process: com.juyoulicai.debug, PID: 11699
java.lang.IndexOutOfBoundsException: Invalid index 13, size is 1
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
at java.util.ArrayList.get(ArrayList.java:308)
at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:237)
at android.widget.AbsListView.obtainView(AbsListView.java:2361)
at android.widget.ListView.makeAndAddView(ListView.java:1868)
at android.widget.ListView.fillDown(ListView.java:702)
at android.widget.ListView.fillGap(ListView.java:666)
at android.widget.AbsListView.trackMotionScroll(AbsListView.java:5063)
at android.widget.AbsListView$FlingRunnable.run(AbsListView.java:4607)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:793)
at android.view.Choreographer.doCallbacks(Choreographer.java:606)
at android.view.Choreographer.doFrame(Choreographer.java:574)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:779)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5595)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
from android-pulltorefresh.
@AllenCoder Thanks for the report, this library is deprecated though so keeping this as closed. I would suggest you to migrate to one of the alternative libraries listed in the readme instead.
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.