We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3676ee9 commit 5bc8498Copy full SHA for 5bc8498
1 file changed
README.md
@@ -30,6 +30,13 @@
30
implementation 'com.noober:savehelper-api:2.1.0'
31
annotationProcessor 'com.noober:processor:2.1.0'
32
33
+混淆配置:
34
+
35
+ -dontwarn com.noober.**
36
+ -keep com.noober.api.**
37
+ -keep com.noober.savehelper.**
38
+ -keepclasseswithmembernames class * implements com.noober.savehelper.ISaveInstanceStateHelper {*;}
39
40
# 引入
41
42
android 内存被回收是一个开发者的常见问题。当我们**跳转到一个二级界面,或者切换到后台**的时候,如果时间过长或者手机的**内存不足**,当我们再返回这个界面的时候,activity或fragment就会被内存回收。这时候虽然界面被重新执行了onCreate,但是很多变量的值却已经被置空,这样就导致了很多潜在的bug,已经很多空指针的问题。
0 commit comments