aquery

How to set the maximum number of network connections in Retrofit

﹥>﹥吖頭↗ 提交于 2019-12-11 02:55:15
问题 I was going through some AQuery code here and found there's a way to modify the number of network connections in AQuery. Is there a way of doing this in retrofit, and what are the default values for retrofit? /* Settings of Image */ //set the max number of concurrent network connections, default is 4 AjaxCallback.setNetworkLimit(8); //set the max number of icons (image width <= 50) to be cached in memory, default is 20 BitmapAjaxCallback.setIconCacheLimit(50); //set the max number of images