Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LinXiaoTao/OrderButton
仿[饿了么]下单按钮
https://github.com/LinXiaoTao/OrderButton
Last synced: 2 months ago
JSON representation
仿[饿了么]下单按钮
- Host: GitHub
- URL: https://github.com/LinXiaoTao/OrderButton
- Owner: LinXiaoTao
- Created: 2016-11-03T07:31:05.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-03T07:34:02.000Z (about 8 years ago)
- Last Synced: 2024-08-03T01:15:31.765Z (6 months ago)
- Language: Java
- Size: 316 KB
- Stars: 45
- Watchers: 4
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-android-ui - OrderButton - 仿饿了么下单按钮 (按钮)
README
### OrderButton是一个仿造*饿了么*下单按钮的自定义View
#### 感谢
部分代码借鉴这个项目[ElemeShoppingView](https://github.com/JeasonWong/ElemeShoppingView)#### 效果图
![order.gif](https://github.com/LinXiaoTao/OrderButton/blob/master/gif/order.gif)#### 相关知识
这个自定义View的效果实现倒不是难点所在,而在于应用在RecyclerView等涉及View复用的控件上,因为View的复用,所以要
处理好状态,才不会出现混乱的局面.
效果的实现主要是用了ValueAnimator