Commit e07bf5ca by 王文龙

[update]更新群发功能

parent 9e2d8d74
......@@ -77,9 +77,12 @@ public class ContactListFragment extends BaseFragment {
StringBuilder stringBuilder = new StringBuilder();
List<UserBean> tmpList = contactBean.getList();
if (!ValidateUtils.isEmpty(tmpList)) {
for (UserBean bean : tmpList) {
stringBuilder.append(bean.getUser_id());
stringBuilder.append(",");
for (int i = 0; i < tmpList.size(); i++) {
UserBean tmp = tmpList.get(i);
stringBuilder.append(tmp.getUser_id());
if (i != tmpList.size() - 1) {
stringBuilder.append(",");
}
}
toId = stringBuilder.toString();
}
......
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