方法已经走到这里了,但是
这个地方就不执行了,回调没有走,这些是我在进行了一次
imClient.close(new AVIMClientCallback() {
@Override
public void done(AVIMClient avimClient, AVIMException e) {
if (e != null) {
// LogUtils.logException(e);
}
if (callback != null) {
callback.done(avimClient, e);
}
}
});
imClient = null;
selfId = null;
blackMap = null;
再重新
roomsTable = RoomsTable.getInstanceByUserId(context, userId);
unreadTable = UnreadTable.getInstanceByUserId(context, userId);
imClient = AVIMClient.getInstance(this.selfId);
imClient.open(new AVIMClientCallback() {
@Override
public void done(AVIMClient avimClient, AVIMException e) {
if (e != null) {
LeanchatClientEventHandler.getInstance().setConnectAndNotify(false);
} else {
LeanchatClientEventHandler.getInstance().setConnectAndNotify(true);
}
if (callback != null) {
callback.done(avimClient, e);
}
}
});
之后发生的,请帮忙看一下
-
创建时间
16年5月11日
-
最后回复
16年5月11日
-
1
回复
-
781
浏览
-
1
用户