Hello everyone, I have a project on a clean architect and I have the task of logging out and sending to the login screen in case 401 comes in response to a request.
The release is released by a separate UseCase, which must be called from the interaction.
Because of this, the problem of circular dependency arises: Interceptor -> UseCase -> Repository -> Retrofit -> Okhttp -> Interceptor.
Maybe someone has an idea how to make no crutch decision?