This is the code I have for the refreshing token in an android app using kotlin ad retrofit 2.
The gradle :
gradle
implementation "com.squareup.