![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android
飞翔的超人
这个作者很懒,什么都没留下…
展开
-
Volley源码(一)--不考虑缓存
1.普及知识 PriorityBlockingQueue类是JDK提供的优先级队列 本身是线程安全的,通过take()方法取队列里的值,这个方法有个特点,如果没有取到值就一直阻塞在那里。Volley里就是在无限循环中从此队列取值,没有取到就一直阻塞,当请求比如StringRequest加到队列中时,循环才走的去 下面以StringRequest为例分析源码 2.先看看怎么使用 Reques原创 2017-09-30 21:04:26 · 310 阅读 · 0 评论 -
Configuration on demand is not supported by the current version of the Android
as版本:android studio 3.3 gradle版本:distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip 报错问题 : Configuration on demand is not supported by the current version of the Andro...原创 2019-06-10 13:52:59 · 437 阅读 · 0 评论