Android的无尽适配器 [英] Android Endless Adapter

查看:119
本文介绍了Android的无尽适配器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即时通讯使用无尽的适配器 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.

这篇关于Android的无尽适配器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆