codelab-kotlin-coroutines icon indicating copy to clipboard operation
codelab-kotlin-coroutines copied to clipboard

Error in codelabs #9: Coroutines in Room & Retrofit

Open ezechuka opened this issue 4 years ago • 0 comments

interface MainNetwork { @GET("next_title.json") suspend fun fetchNextTitle(): Result<String> }

I tried returning a Result<T> & got 'kotlin.Result' can not be used as a return type

ezechuka avatar Apr 29 '20 21:04 ezechuka