Im u开发者_JAVA技巧sing the endless adapter http://github.com/commonsguy/cwac-endless however whenever i return false (because i dont have anymore data to append) , as stated here http://github.com/commonsguy/cwac-endless/blob/master/README.markdown in appendinbackground, my activity crashes and in Logcat i get a message saying indexoutofbounds etc.
How do I make it so that I can stop loading extra data?
As stated on the page you linked to:
If you have questions regarding the use of this code, please join and ask them on the cw-android Google Group. Be sure to indicate which CWAC module you have questions about.
We will need your stack trace as well, showing the exception.
精彩评论