Skip to content

Commit

Permalink
优化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
junixapp committed Aug 26, 2021
1 parent 6118649 commit c800591
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Simple way to change your layout state, like loading, empty, error. Strong custo


# Gradle
从1.2.3之后迁移到jitpack上了。[![](https://jitpack.io/v/li-xiaojun/StateLayout.svg)](https://jitpack.io/#li-xiaojun/StateLayout)
[![](https://jitpack.io/v/li-xiaojun/StateLayout.svg)](https://jitpack.io/#li-xiaojun/StateLayout)
```
implementation 'com.github.li-xiaojun:StateLayout:Tag'
```
Expand All @@ -29,14 +29,6 @@ allprojects {
}
```

----------------------------------- 分割线 ---------------------------------------------

[ ![Download](https://api.bintray.com/packages/li-xiaojun/jrepo/statelayout/images/download.svg) ](https://bintray.com/li-xiaojun/jrepo/statelayout/_latestVersion)
```
implementation 'com.lxj:statelayout:最新版本号'
```



# Usage
对Activity/Fragment使用:
Expand Down
1 change: 1 addition & 0 deletions app/src/main/assets/lottie/live_loading.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"v":"5.1.20","fr":12,"ip":0,"op":36,"w":120,"h":120,"nm":"合成 1","ddd":0,"assets":[{"id":"image_0","w":252,"h":252,"u":"images/","p":"img_0.png","e":0}],"layers":[{"ddd":0,"ind":1,"ty":3,"nm":"空 1","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":0,"s":[0],"e":[360]},{"t":36}],"ix":10},"p":{"a":0,"k":[60,60,0],"ix":2},"a":{"a":0,"k":[50,50,0],"ix":1},"s":{"a":0,"k":[32,32,100],"ix":6}},"ao":0,"ip":0,"op":36,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":2,"nm":"椭圆形@3x.png","cl":"png","parent":1,"refId":"image_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"n":"0p667_1_0p333_0","t":0,"s":[50,96.875,0],"e":[50,1.367,0],"to":[4.73695171290616e-15,-15.91796875,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"n":"0p667_1_0p333_0","t":9,"s":[50,1.367,0],"e":[50,96.875,0],"to":[0,0,0],"ti":[4.73695171290616e-15,-15.91796875,0]},{"t":18}],"ix":2,"x":"var $bm_rt;\n$bm_rt = loopOut('cycle', 0);"},"a":{"a":0,"k":[126,126,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":36,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":2,"nm":"椭圆形@3x.png","cl":"png","parent":1,"refId":"image_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"n":"0p667_1_0p333_0","t":0,"s":[103.125,18.75,0],"e":[9.375,76.562,0],"to":[-15.625,9.63541698455811,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"n":"0p667_1_0p333_0","t":9,"s":[9.375,76.562,0],"e":[103.125,18.75,0],"to":[0,0,0],"ti":[-15.625,9.63541698455811,0]},{"t":18}],"ix":2,"x":"var $bm_rt;\n$bm_rt = loopOut('cycle', 0);"},"a":{"a":0,"k":[126,126,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":36,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":2,"nm":"椭圆形@3x.png","cl":"png","parent":1,"refId":"image_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"n":"0p667_1_0p333_0","t":0,"s":[1.562,20.312,0],"e":[90.625,70.313,0],"to":[14.84375,8.33333301544189,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"n":"0p667_1_0p333_0","t":9,"s":[90.625,70.313,0],"e":[1.562,20.312,0],"to":[0,0,0],"ti":[14.84375,8.33333301544189,0]},{"t":18}],"ix":2,"x":"var $bm_rt;\n$bm_rt = loopOut('cycle', 0);"},"a":{"a":0,"k":[126,126,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":36,"st":0,"bm":0}],"markers":[]}
Binary file added app/src/main/assets/lottie/live_loading/img_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c800591

Please sign in to comment.