Android CursorLoader 与 AsyncQueryHandler?
我已经了解了如何实现 CursorLoader 和 AsyncQueryHandler。如果我想将其用于 Android 2.2 应用程序的 SimpleCursorTreeAdapter,我应该使用哪一个?
I have seen how to implement both a CursorLoader and a AsyncQueryHandler. If I wanted to use this for an Android 2.2 application for a SimpleCursorTreeAdapter, which one should I use?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我有人向我推荐一个非常好的使使用 CursorLoaders 变得非常轻松的库。公平地说,这主要用于列表和 ResourceCursorAdapter,但它对我来说效果很好。我建议使用 CursorLoader 和这个库。
I had someone recommend me a very nice library that made working with CursorLoaders quite painless. To be fair, that was mostly for use with a list and using a ResourceCursorAdapter, but it worked well for me. I'd recommend using a CursorLoader and this library.