We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a5de61 commit 466661eCopy full SHA for 466661e
README.md
@@ -122,7 +122,7 @@ window.android.callAndroid() //调用 Java 层的 AndroidInterface 类里 callAn
122
123
* #### 跟随 Activity Or Fragment 生命周期 , 释放 CPU 更省电 。
124
```
125
-@Override
+ @Override
126
protected void onPause() {
127
mAgentWeb.getWebLifeCycle().onPause();
128
super.onPause();
@@ -134,6 +134,11 @@ window.android.callAndroid() //调用 Java 层的 AndroidInterface 类里 callAn
134
mAgentWeb.getWebLifeCycle().onResume();
135
super.onResume();
136
}
137
138
+ public void onDestroyView() {
139
+ mAgentWeb.getWebLifeCycle().onDestroy();
140
+ super.onDestroyView();
141
+ }
142
143
144
* #### <del>文件上传处理<del>
0 commit comments