Android Endless Adapter


Im using the endless adapter however whenever i return false (because i dont have anymore data to append) , as stated here 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?

Best Solution

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.