Setup was easy:
Retrofit retrofit = new Retrofit.Builder() .baseUrl("https://api.example.com/") .addConverterFactory(GsonConverterFactory.create()) .build();
I especially liked:
- Interface-based declarative APIs
- Easy mocking with interceptors
- Integration with RxJava
A must-have when working with external APIs.