- 博客(3)
- 收藏
- 关注
原创 RecyclerView 回收机制概况
在这里也说RecyclerView的缓存机制。 关键描述语: 1.RecyclerView 内部类 Recycler Recycler mRecycler =new Recycler(); 2.Recycler内部成员变量。 a. ArrayList mAttachedScrap = new ArrayList<>(); b. ArrayList mChangeScrap = null; c. final ArrayList mCachedViews = new ArrayList(); d.
2021-04-08 10:06:36
259
原创 Android 事件分发
1.事件分发: 分类 Activity ,ViewGroup ,View a.Activity中包含 dispatchTouchEvent(MotionEvent ev), onTouchEvent(MotionEvent ev); b.ViewGroup中包含 dispatchTouchEvent(MotionEvent ev) ,onInterceptTouchEvent(MotionEvent ev), onTouchEvent(MotionEvent ev); c.View 中包含 dispatch
2021-03-26 13:35:46
147
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人