File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ compile 'com.github.anzewei:parallaxbacklayout:lastversion'
20
20
## 在application中注册ParallaxHelper
21
21
22
22
``` java
23
- registerActivityLifecycleCallbacks(ParallaxHelper . getInstance());
23
+ registerActivityLifecycleCallbacks(ParallaxHelper . getInstance());
24
24
```
25
25
## 对需要滑动的activity增加annotation
26
26
27
27
``` java
28
28
@ParallaxBack
29
29
public class DetailActivity extends AppCompatActivity {
30
- 。。。
30
+ //
31
31
}
32
32
```
33
33
- 这样DetailActivity就可以滑动返回了
@@ -126,6 +126,14 @@ public class DetailActivity extends AppCompatActivity {
126
126
compile 'com.github.anzewei:parallaxbacklayout:0.5'
127
127
```
128
128
129
+ # 混淆保护
130
+ ```
131
+ -keep public enum com.github.anzewei.parallaxbacklayout.ParallaxBack$** {
132
+ **[] $VALUES;
133
+ public *;
134
+ }
135
+ ```
136
+
129
137
# 更新
130
138
- 日期 2017.06.19 版本 1.1.6
131
139
更新了annotation
You can’t perform that action at this time.
0 commit comments