【问题标题】:Google Cloud Endpoints and Android, an Async uncertaintyGoogle Cloud Endpoints 和 Android,异步的不确定性
【发布时间】:2014-08-30 06:09:04
【问题描述】:

我正在使用Google Cloud Endpoints 生成客户端库,以与AppEngine 上的应用程序通信。 生成的库不处理异步进程,它们只是提供同步方法来调用服务器上的函数。

AsyncTask 是更简单的解决方案,但也是最糟糕的解决方案。 IntentService 看起来很乱。

Retrofit 用几行代码来完成所有事情,让我宠坏了,我希望我可以将它与 Endpoints 一起使用。

我可以使用什么模式/库来加速客户端开发? (API>=14)

【问题讨论】:

    标签: android google-app-engine asynchronous google-cloud-endpoints


    【解决方案1】:

    建议你看看谷歌的volley库:
    http://developer.android.com/training/volley/index.html

    【讨论】:

      猜你喜欢
      • 2014-01-19
      • 2013-05-23
      • 2013-07-20
      • 2013-11-07
      • 2014-09-12
      • 1970-01-01
      • 1970-01-01
      • 2018-12-18
      • 1970-01-01
      相关资源
      最近更新 更多