This commit is contained in:
2020-09-15 17:57:15 +08:00
parent ad03559dac
commit 2ce5beace4
15 changed files with 415 additions and 101 deletions

View File

@@ -56,6 +56,7 @@ public class CreateGroupActivity extends TrBaseActivity {
DBUser u = new DBUser("", "添加分机号", "");
u.isAddFlag = true;
users.add(u);
users.add(DBUser.mySelf);
setList(null);
}
@@ -219,6 +220,11 @@ public class CreateGroupActivity extends TrBaseActivity {
}
public void createGroup(View view) {
String name = meetingTopic.getText().toString();
if(name == null || name.isEmpty()) {
UIUtl.toastI("分组名不能为空");
return;
}
String userStr = getSelectedUsers();
if (userStr == null || userStr == "") {
UIUtl.toastI("请添加要加入会议的分机号");