Skip to content

Commit 07aa085

Browse files
committed
add comment
Signed-off-by: Cai Liming <405977146@163.com>
1 parent dbe5b1e commit 07aa085

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PluginTest/src/com/example/plugintest/activity/PluginNotInManifestActivity.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ public void onClick(View v) {
8989
}
9090
}
9191

92+
/**
93+
* 如果不用代理activity,而是要拥有完整生命周期,需重写如下方法
94+
*/
9295
@Override
9396
protected void attachBaseContext(Context newBase) {
9497
super.attachBaseContext(PluginLoader.getDefaultPluginContext(PluginNotInManifestActivity.class));

0 commit comments

Comments
 (0)