This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.gson.Gson | |
import okhttp3.Interceptor | |
import okhttp3.Response | |
import okhttp3.ResponseBody | |
import org.json.JSONException | |
/** | |
* Logout Interceptor. | |
* Here i extend the BaseActivity to navigate user to another screen. i need runOnUIThread to execute navigateToLogin() method. |