Commit 6a0aa183 authored by 王雪伟's avatar 王雪伟

[提交人]:王雪伟

[提交简述] :修复异常2
[实现方案] :
parent 58d99fce
......@@ -4,6 +4,7 @@ import android.content.Intent;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
......@@ -114,8 +115,11 @@ public class ChatFragment extends BaseFragment implements ChatContract.View, V2T
mConversationPresenter = new ConversationPresenter();
mConversationPresenter.setConversationListener();
mConversationLayout.setPresenter(mConversationPresenter);
Log.d("wxw","bbbb");
EventBus.getDefault().register(this);
if (!isFirstLoad) {
login(SettingPreference.getUserInfoData().uid + "");
}
}
private void initPopMenuAction() {
......@@ -236,7 +240,9 @@ public class ChatFragment extends BaseFragment implements ChatContract.View, V2T
@Override
protected void lazyLoad() {
super.lazyLoad();
if (!isFirstLoad) {
Log.d("wxw","aaaa");
if (!isFirstLoad&& isInitial) {
login(SettingPreference.getUserInfoData().uid + "");
}
updateIMSettingInfo();
......
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