Wrap Api Calls with Response<T>

#2 · open · 0 comments

View on GitHub ↗

wangerekaharun

https://github.com/etonotieno/GitBit/blob/806efc3c03b85086dbd0e0b0265157f437ad6c25/app/src/main/java/io/devbits/gitbit/data/remote/GithubApiService.kt#L11 This ensures you always get the responses event the HTTP errors

Comments