Skip to content

Commit 8192f36

Browse files
authored
update readme
1 parent e322dae commit 8192f36

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README_ZH.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ compile 'com.github.anzewei:parallaxbacklayout:lastversion'
2020
## 在application中注册ParallaxHelper
2121

2222
``` java
23-
registerActivityLifecycleCallbacks(ParallaxHelper.getInstance());
23+
registerActivityLifecycleCallbacks(ParallaxHelper.getInstance());
2424
```
2525
## 对需要滑动的activity增加annotation
2626

2727
``` java
2828
@ParallaxBack
2929
public class DetailActivity extends AppCompatActivity {
30-
。。。
30+
//
3131
}
3232
```
3333
- 这样DetailActivity就可以滑动返回了
@@ -126,6 +126,14 @@ public class DetailActivity extends AppCompatActivity {
126126
compile 'com.github.anzewei:parallaxbacklayout:0.5'
127127
```
128128

129+
# 混淆保护
130+
```
131+
-keep public enum com.github.anzewei.parallaxbacklayout.ParallaxBack$** {
132+
**[] $VALUES;
133+
public *;
134+
}
135+
```
136+
129137
# 更新
130138
- 日期 2017.06.19 版本 1.1.6
131139
更新了annotation

0 commit comments

Comments
 (0)