How to set OkHttpClient for glide

后端 未结 5 1090
不思量自难忘°
不思量自难忘° 2020-12-05 17:45

I am using Glide to load images, the issue I\'m facing is that when i run app on slow internet connection I\'m getting SocketTimeOutException. So to solve this

5条回答
  •  情深已故
    2020-12-05 18:22

    Add or upgrade okhttp3-integration:4.4.0 version

    implementation ('com.github.bumptech.glide:okhttp3-integration:4.4.0'){
            exclude group: 'glide-parent'
        }
    

提交回复
热议问题