【发布时间】:2014-08-30 06:09:04
【问题描述】:
我正在使用Google Cloud Endpoints 生成客户端库,以与AppEngine 上的应用程序通信。
生成的库不处理异步进程,它们只是提供同步方法来调用服务器上的函数。
AsyncTask 是更简单的解决方案,但也是最糟糕的解决方案。
IntentService 看起来很乱。
Retrofit 用几行代码来完成所有事情,让我宠坏了,我希望我可以将它与 Endpoints 一起使用。
我可以使用什么模式/库来加速客户端开发? (API>=14)
【问题讨论】:
标签: android google-app-engine asynchronous google-cloud-endpoints