I need to create 2 instances for Glide with different interceptors
Open
- Dominant language
- Java
- Stars
- 35k
- Forks
- 6.2k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description
In my project, I need to add 2 different interceptors to Glide.
- First one is to verify using authentication
- Second one without authentication
To add interceptor I need to use AppGlideModule,I need to override "registerComponents" and add interceptor. But I can have only 1 AppGlideModule per app.
In that case, how can I add 2 different interceptors to Glide? If I am adding as LibrayGlideModule and AppGlideModule,how can I access 2 intances differently to call auth interceptor and normal interceptor
Contributor guide
Assessment
This issue has not been assessed yet.