We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RepositoryManager中mRetrofit没办法根据业务不同做切换,现在我有多套业务接口,header和body的参数和格式以及签名方式都不同,甚至连gson解析的实体都不同。之前的做法是根据接口类型创建多个retrofit单例,每个单例add不同的intercepter和adapter,可是现在只能使用一个retrofit实例,虽然能在configuration中动态添加intercepter,可如果这两个intercepter是互斥的,就顾此失彼了。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
RepositoryManager中mRetrofit没办法根据业务不同做切换,现在我有多套业务接口,header和body的参数和格式以及签名方式都不同,甚至连gson解析的实体都不同。之前的做法是根据接口类型创建多个retrofit单例,每个单例add不同的intercepter和adapter,可是现在只能使用一个retrofit实例,虽然能在configuration中动态添加intercepter,可如果这两个intercepter是互斥的,就顾此失彼了。
The text was updated successfully, but these errors were encountered: