Commit 75546502 by tangguangrui

修改闪退bug和获取七牛数据提示失败的问题

parent 977a57c2
......@@ -162,7 +162,8 @@ public class DetailActivity extends NetBaseAppCompatActivity {
adapter = new MyAdapter();
listView.setAdapter(adapter);
loadData();
initQiNiuToken();
}
......@@ -203,6 +204,12 @@ public class DetailActivity extends NetBaseAppCompatActivity {
netPicUtil.display(facePicture,qiNiuTokenBean.url+bean.user.faceImg);
}
}
@Override
public void requestFinish() {
super.requestFinish();
loadData();
}
}, null);
}
......@@ -222,7 +229,6 @@ public class DetailActivity extends NetBaseAppCompatActivity {
// idNoTitle.setVisibility(bean.user.isBindingId == 1 ? View.INVISIBLE : View.VISIBLE);
// idCode.setVisibility(bean.user.isBindingId == 1 ? View.INVISIBLE : View.VISIBLE);
noteInput.setText(bean.user.remark);
initQiNiuToken();
}
if(bean.visitList != null){
data.addAll(bean.visitList);
......
......@@ -138,7 +138,7 @@ public class PassThroughDetailActivity extends NetBaseAppCompatActivity {
roundlayoutPic.setRoundLayoutBorder(Color.parseColor("#999999"),1);
roundlayoutAddPic.setRoundLayoutRadius(20f);
roundlayoutAddPic.setRoundLayoutBorder(Color.parseColor("#999999"),1);
loadData();
initQiNiuToken();
}
@OnClick({R.id.backBtn,R.id.bindBtn,R.id.editBtn,R.id.addPic})
......@@ -203,7 +203,6 @@ public class PassThroughDetailActivity extends NetBaseAppCompatActivity {
editBtn.setVisibility(View.GONE);
}
initQiNiuToken();
}
}
......@@ -228,6 +227,12 @@ public class PassThroughDetailActivity extends NetBaseAppCompatActivity {
}
}
@Override
public void requestFinish() {
super.requestFinish();
loadData();
}
}, 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