LCUser.logIn(model.currentUser.username, "123456").subscribe(object : Observer<LCUser?> {
override fun onSubscribe(d: Disposable) {}
override fun onNext(t: LCUser) {
val user = LCIMClient.getInstance(model.currentUser)
user.open(object : LCIMClientCallback() {
override fun done(avimClient: LCIMClient, e: LCIMException) {
//这里的avimClient为null
}
})
}
override fun onError(e: Throwable) {
}
override fun onComplete() {}
})
您好,我是按照文档一步一步来的,利用 _User
登录即时通讯服务器时出现了这个问题。(java)