Computer scienceMobileAndroidNetworking

Networking Basics

Theory

Response

Report a typo

What are the benefits of wrapping the network result in a Response class?

interface DrinksApi {
    @GET("drinks.json")
    suspend fun getDrinks(): Response<List<Drink>>
}
Select one option from the list

Create a free account to access the full topic