Skip to content

Commit 9652a80

Browse files
author
uis
committed
增加控件原理说明
1 parent 2bbec58 commit 9652a80

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33

44
**层叠随手势滑动,带轮播自定义ViewGroup**
55

6+
1.onMeasure通过StackAdapter适配器取到itemView加入到StackLayaout容器
7+
8+
2.onLayout取到childView按照层叠布局
9+
10+
3.onInterceptTouchEvent处理手势支持子View及Velocity
11+
12+
4.onTouchEvent处理手势,释放后播放动画平滑过渡
13+
614
### Captures
715

816
![效果图](/pic/pic001.jpeg)

0 commit comments

Comments
 (0)