提交 1cee705d 编写于 作者: J jessyan

Fix Demo bug

上级 de84e1e1
......@@ -95,5 +95,7 @@ public class ActivityLifecycleCallbacksImpl implements Application.ActivityLifec
@Override
public void onActivityDestroyed(Activity activity) {
Timber.w(activity + " - onActivityDestroyed");
//横竖屏切换或配置改变时, Activity 会被重新创建实例, 但 bundle 中的基础数据会被保存下来,移除是为了保证重新创建的实例可以正常工作
activity.getIntent().removeExtra("isInitToolbar");
}
}
......@@ -85,7 +85,7 @@ ext {
"arouter" : "com.alibaba:arouter-api:1.2.2",
"arouter-compiler" : "com.alibaba:arouter-compiler:1.1.3",
"progressmanager" : "me.jessyan:progressmanager:1.3.3",
"retrofit-url-manager" : "me.jessyan:retrofit-url-manager:1.0.5",
"retrofit-url-manager" : "me.jessyan:retrofit-url-manager:1.1.0",
//test
"junit" : "junit:junit:4.12",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册