源码分析的博客地址

https://www.cnblogs.com/dasusu/p/8047172.html

讲述    【Android源码解析】View.post()到底干了啥,分析了三个问题

Q1: 为什么 View.post() 的操作是可以对 UI 进行操作的呢,即使是在子线程中调用 View.post()?

Q2:网上都说 View.post() 中的操作执行时,View 的宽高已经计算完毕,所以经常看见在 Activity 的 onCreate() 里调用 View.post() 来解决获取 View 宽高为0的问题,为什么可以这样做呢?

Q3:用 View.postDelay() 有可能导致内存泄漏么?

 

https://blog.csdn.net/u014606081/article/details/60143555

从RecyclerView、NestedScrollView源码分析嵌套滑动异常

Q1:显示不全、自动滚动异常

Q2:惯性滑动,即fling失效

 

https://blog.csdn.net/coffeelifelau/article/details/52433653

Java位运算符及二进制常识

 

https://blog.csdn.net/xmxkf/article/details/51468648

Android自定义View(二、深入解析自定义属性)

 

https://www.jianshu.com/p/8c86f49a7174    RecyclerView的那些开源炫酷的LayoutManager

https://blog.csdn.net/huachao1001/article/details/51594004   打造属于你的LayoutManager

https://blog.csdn.net/chenbaige/article/details/80524508   Android源码分析之OrientationHelper详解

https://www.jianshu.com/p/715b59c46b74   你可能误会了!原来自定义LayoutManager可以这么简单

 

https://chacojack.github.io/2016/09/14/%E6%8A%8ARecyclerView%E5%81%9A%E6%88%90-%E9%A9%AC-%E8%9C%82-%E7%AA%9D/      把RecyclerView撸成 马 蜂 窝(自定义LayoutManager)

https://github.com/leochuan/ViewPagerLayoutManager      https://www.jianshu.com/p/7bb7556bbe10

自定义LayoutManager 实现弧形以及滑动放大效果RecyclerView

https://github.com/zhlucky/SaleProgressView自定义进度条,仿淘宝淘抢购

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章