修复启动时出现闪退日志的问题(DialogFragment问题)
This commit is contained in:
parent
d56d9d8f45
commit
d2f508699c
@ -5342,6 +5342,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
|
||||
String isFreeGift = newPeopleTask.getIs_free_gift();
|
||||
|
||||
|
||||
Log.i("TestFreeGift", "newPeopleTask.getIs_free_gift(): " + isFreeGift);
|
||||
|
||||
if (taskModel != null) {
|
||||
GiftModel giftModel = newPeopleTask.getGift();
|
||||
if (giftModel != null) {
|
||||
|
@ -288,7 +288,13 @@ public class LoginActivity extends AbsActivity {
|
||||
getBaseUserInfo();
|
||||
} else {
|
||||
ToastUtil.show(msg);
|
||||
loadingDialog.dismiss();
|
||||
try {
|
||||
if(loadingDialog!=null && loadingDialog.isAdded()){
|
||||
loadingDialog.dismiss();
|
||||
}
|
||||
}catch (Exception e){
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -321,11 +327,14 @@ public class LoginActivity extends AbsActivity {
|
||||
} else {
|
||||
MainActivity.forward(LoginActivity.this, false);
|
||||
}
|
||||
if(loadingDialog!=null){
|
||||
loadingDialog.dismiss();
|
||||
try {
|
||||
if(loadingDialog!=null && loadingDialog.isAdded()){
|
||||
loadingDialog.dismiss();
|
||||
}
|
||||
}catch (Exception e){
|
||||
e.printStackTrace();
|
||||
}
|
||||
finish();
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user