【问题标题】:android Volley, What is the difference between cancelAll and stop method in RequestQueueandroid Volley,RequestQueue中cancelAll和stop方法有什么区别
【发布时间】:2013-10-25 04:32:16
【问题描述】:
  1. RequestQueue中cancelAll和stop方法有什么区别。
  2. listview 适配器中的ImageLoader,如果之前的请求返回错误,它会再次加载图像吗?如果不是,如何让 ImageLoader 清除错误状态,并强制重新加载图片。
  3. 如何在 IntentService 中使用 Volley,据我所知 IntentService 需要以单线程模式运行。

【问题讨论】:

  • @btoueg 那么你对这个标题有什么建议呢? :-)
  • 我的建议是将它分成 3 个不同的 SO 问题。

标签: android multithreading http android-volley


【解决方案1】:

第三个问题:你不需要在意图中使用 volley 服务 volley 无法处理它,volley 在单独的线程中运行而不是 UI 线程

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-07-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-08-02
    相关资源
    最近更新 更多