Computer scienceMobileAndroidNetworking

Networking Basics

Theory

Builder

Report a typo

Imagine that you have an ItemApi interface, which you would like to use with Retrofit. Create an instance of Retrofit with a base URL set to BASE_URL, and a converter factory set to Json.asConverterFactory("application/json".toMediaType())

val client = Retrofit.Builder() // continue this line

The answer should start with a dot. Don't forget to build it!

Enter a short text

Create a free account to access the full topic