Skip to content

How to set timeout for ImageRequest #1531

Answered by colinrtwhite
mesudemre asked this question in Q&A
Discussion options

You must be logged in to vote

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 to ImageLoader.Builder.okHttpClient.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by mesudemre
Comment options

You must be logged in to vote
1 reply
@mesudemre
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants