Replies: 3 comments
-
are you talking about an authentication token? You can add a custom interceptor the all the coil requests. There's a pretty good example of how to do here: |
Beta Was this translation helpful? Give feedback.
0 replies
-
So I need to add this code manually every time I want to use it, instead of just writing it once in the glidemodule like glide |
Beta Was this translation helpful? Give feedback.
0 replies
-
No, you write it once and then add it to your image loader val imageLoader = ImageLoader.Builder(context)
.components {
add(YourCustomInterceptorHere())
}
.build() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
like GlideModule ,
i need use token with in all image request
Beta Was this translation helpful? Give feedback.
All reactions