问题标签 [androidasync-koush]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
219 浏览

android - 从协程调用 ion 客户端时出现“无接口方法 setCallback”错误

根据Kotlin Extensions - async/await test,要使用异步 Web 请求,我应该将调用封装在协程中,如下面的示例,取自测试:

问题是当我尝试调用协程时,如下所示:

我收到以下库错误:

我应该如何使用它?