8000 Instead of Result it should be Response in section 9 · Issue #160 · android/codelab-kotlin-coroutines · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
This repository was archived by the owner on Aug 16, 2023. It is now read-only.

Instead of Result it should be Response in section 9 #160

Open
rahul-vaish-007 opened this issue Feb 3, 2022 · 0 comments
Open

Instead of Result it should be Response in section 9 #160

rahul-vaish-007 opened this issue Feb 3, 2022 · 0 comments

Comments

@rahul-vaish-007
Copy link

In the snapshot it can be seen that instructor has specified to use Result<String> if full result from Retrofit is required. However there is no such class as Result in Retrofit. In my opinion this should have been Response<String> where fully qualified name of Response is retrofit2.Response.

Screenshot 2022-02-03 at 15 43 33

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0