Android的无尽适配器适配器、Android

2023-09-06 13:11:17 作者:小孩说话大人少插嘴

即时通讯使用无尽的适配器 http://github.com/commonsguy/cwac-endless 然而,每当我返回false(因为我没有了数据追加),正如这里的 http://github.com/commonsguy/cwac-endless/blob/master/README.markdown 在appendinbackground,我的活动崩溃,在logcat中我得到一个消息,说indexoutofbounds等。

Im using 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?

推荐答案

正如在您链接到页面:

如果您有任何问题   使用这种code,请加入并要求   他们在 CW-谷歌Android   集团。一定要指出哪些   CWAC模块您有关于的问题。

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.

 
精彩推荐