BLOG / 766 ARTICLES
技术笔记
计算机基础、AI、后端与客户端开发笔记
Android · 435 篇文章清除筛选
2 分钟
9 分钟
2 分钟
Android
PopupWindow细节
A popup window that can be used to display an arbitrary view. The popup windows is a floating container that appears on top of the current activity.
1 分钟
3 分钟
34 分钟
22 分钟
Android
HttpURLConnection详解
之前写过HttpURLConnection与HttpClient的区别及选择。后来又分析了Volley的源码。 最近又遇到了问题,想在Volley中针对HttpURLConnection添加连接池的功能,开始有点懵了,不知道HttpURLConnection要怎么加连接池, 虽然感觉这是没必要的,但是心底确拿不出依据。所以研究下HttpURLConnecti
13 分钟
9 分钟
1 分钟
22 分钟
Android
7.View绘制原理
界面窗口的根布局是DecorView,该类继承自FrameLayout.说到View绘制,想到的就是从这里入手,而FrameLayout继承自ViewGroup。感觉绘制肯定会在ViewGroup或者View中, 但是木有找到。发现ViewGroup实现ViewParent接口,而ViewParent有一个实现类是ViewRootImpl, ViewGruo
3 分钟