An open API service indexing awesome lists of open source software.

https://github.com/gcssloop/leafloading

LeafLoding Progress
https://github.com/gcssloop/leafloading

Last synced: 3 months ago
JSON representation

LeafLoding Progress

Awesome Lists containing this project

README

        

title

[![License](https://img.shields.io/badge/license-Apache%202-green.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[![Maven Central](https://img.shields.io/bintray/v/gcssloop/maven/leafloding.svg)](https://bintray.com/gcssloop/maven/leafloding/view)
### 作者微博: [@攻城师sloop](http://weibo.com/5459430586)
## 声明
由于该项目的创意来自于网络,并未寻找到原作者,所以可能存在侵权行为,使用前请慎重。如果您是该创意原作者,感觉侵犯了您的权利,可以在微博上联系我,侵删。

另外,该项目核心实现代码来参考了一位CSDN大神的博客:详戳->[【一个绚丽的loading动效分析与实现!】](http://blog.csdn.net/tianjian4592/article/details/44538605)。
```
我在原有代码基础上进行了部分内容的修改,主要包括以下方面:
0.添加风扇部分绘制
1.修改了View测量逻辑
2.对视图大小进行了适配
3.添加了监听回调接口

目前仍存在的问题(待完善或者添加的功能)
0.绑定风扇转速 树叶数量 和进度快慢之间的关系

如果你对此有好的想法欢迎在Issues中提交。
```


## 创意原型

#### 原型效果图如下:
![LeafLoading](https://github.com/GcsSloop/LeafLoading/blob/master/Art/model.gif)
#### 实现效果图如下:
![LeafLoadingDemo](https://github.com/GcsSloop/LeafLoading/blob/master/Art/loadingTest.gif)

目前实现了原型中百分之九十左右的内容。

---
## 如何使用
### 1.在布局文件中添加LeafLoding
``` xml