Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Google Play Services Interacting with Your API Interacting with Retrofit

What is the current update equivalent of RequestInterceptor?

It seems that in the latest update of retrofit, this class doesnt exists.

1 Answer

Matthew Barrus
Matthew Barrus
16,731 Points

but do yourself a favor and stick with 1.9 for this project.. I went down the path of trying to use the latest version but it becomes way more work than it's worth to refactor everything, as version 2+ is a major rewrite.