群申请的时候,调用了接口没有log输出,也没有消息提示
new Thread(new Runnable() {
public void run() {
try {
//如果是membersOnly的群,需要申请加入,不能直接join
if(group.isMembersOnly()){
Log.e("applyJoinToGroup", "applyJoinToGroup");
EMGroupManager.getInstance().applyJoinToGroup(group_id, st2);
}else{
EMGroupManager.getInstance().joinGroup(group.getGroupId());
}
runOnUiThread(new Runnable() {
public void run() {
dismissLoadingLayout();
showMessage(st3);
finish();
}
});
} catch (final EaseMobException e) {
e.printStackTrace();
runOnUiThread(new Runnable() {
public void run() {
showMessage(st5);
dismissLoadingLayout();
}
});
}
}
}).start();
public void run() {
try {
//如果是membersOnly的群,需要申请加入,不能直接join
if(group.isMembersOnly()){
Log.e("applyJoinToGroup", "applyJoinToGroup");
EMGroupManager.getInstance().applyJoinToGroup(group_id, st2);
}else{
EMGroupManager.getInstance().joinGroup(group.getGroupId());
}
runOnUiThread(new Runnable() {
public void run() {
dismissLoadingLayout();
showMessage(st3);
finish();
}
});
} catch (final EaseMobException e) {
e.printStackTrace();
runOnUiThread(new Runnable() {
public void run() {
showMessage(st5);
dismissLoadingLayout();
}
});
}
}
}).start();
没有找到相关结果
已邀请:
3 个回复
lzan13 - 慢慢来,一步一个脚印?
木有
木有