How to set timeout for ImageRequest #1531
-
Hello everyone, Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Not directly, but you can set any network properties (including request timeouts) using an OkHttp interceptor. You'll have to create an |
Beta Was this translation helpful? Give feedback.
-
@colinrtwhite @mesudemre Just a silly doubt, how about wrapping the |
Beta Was this translation helpful? Give feedback.
Not directly, but you can set any network properties (including request timeouts) using an OkHttp interceptor. You'll have to create an
OkHttpClient
, add the interceptor, then pass it toImageLoader.Builder.okHttpClient
.