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.
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 asResult
in Retrofit. In my opinion this should have beenResponse<String>
where fully qualified name ofResponse
isretrofit2.Response
.