Commit 80c8cdf5 by tangguangrui

修改闪退bug

parent 5b76ffe6
...@@ -138,7 +138,7 @@ public class PassThroughDetailActivity extends NetBaseAppCompatActivity { ...@@ -138,7 +138,7 @@ public class PassThroughDetailActivity extends NetBaseAppCompatActivity {
roundlayoutPic.setRoundLayoutBorder(Color.parseColor("#999999"),1); roundlayoutPic.setRoundLayoutBorder(Color.parseColor("#999999"),1);
roundlayoutAddPic.setRoundLayoutRadius(20f); roundlayoutAddPic.setRoundLayoutRadius(20f);
roundlayoutAddPic.setRoundLayoutBorder(Color.parseColor("#999999"),1); roundlayoutAddPic.setRoundLayoutBorder(Color.parseColor("#999999"),1);
initQiNiuToken(); loadData();
} }
@OnClick({R.id.backBtn,R.id.bindBtn,R.id.editBtn,R.id.addPic}) @OnClick({R.id.backBtn,R.id.bindBtn,R.id.editBtn,R.id.addPic})
...@@ -174,6 +174,11 @@ public class PassThroughDetailActivity extends NetBaseAppCompatActivity { ...@@ -174,6 +174,11 @@ public class PassThroughDetailActivity extends NetBaseAppCompatActivity {
setViews(); setViews();
} }
@Override
public void requestFinish() {
super.requestFinish();
initQiNiuToken();
}
}, null); }, null);
} }
...@@ -231,7 +236,6 @@ public class PassThroughDetailActivity extends NetBaseAppCompatActivity { ...@@ -231,7 +236,6 @@ public class PassThroughDetailActivity extends NetBaseAppCompatActivity {
@Override @Override
public void requestFinish() { public void requestFinish() {
super.requestFinish(); super.requestFinish();
loadData();
} }
}, null); }, null);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment