OkHttp Interceptors in Android

May 25 2021 · Kotlin 1.4, Android 5, Android Studio 4.1

Part 1: Implementing OkHttp Interceptors

02. Set Up the Project

Episode complete

Play next episode

About this episode
Leave a rating/review
See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 01. Learn about OkHttp Interceptors Next episode: 03. Setup HttpLoggingInterceptor & Debug API Calls

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Notes: 02. Set Up the Project

You must generate your own API keys to follow along with the course. Otherwise, you will not be able to fetch the movies’ data.

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

To get started with the starter project, you first need an API key from TheMovieDB(TMDB). To generate a new API key, you first need a TheMovieDB account.

buildTypes.each {
    it.buildConfigField 'String', 'THE_MOVIE_DB_API_TOKEN', "\"your-api-key\""