1:修改头像截取设置默认宽高
2:修改首页默认展示房间列表tab 3:修改创建房间,提示需要签约10个徒弟的功能 4:修改注销用户的时候,当有手机号的时候,进行二次验证码确认 5:首页推荐房间弹框
This commit is contained in:
@@ -61,32 +61,32 @@ public class OfficialNoticeActivity extends BaseMvpActivity<NewsPresenter, Activ
|
||||
protected void convert(BaseViewHolder helper, NewsMessageList item) {
|
||||
String time = TimeUtils.getDateToStringNoZ(Long.parseLong(item.getCreatetime()) * 1000L);
|
||||
helper.setText(R.id.tv_sys_time, time);
|
||||
|
||||
if (item.getType() == 6) {
|
||||
// TODO: 2025/12/8 type==6,是工会邀请 type=7,是公会调整用户益调消息
|
||||
if (item.getType() == 6 || item.getType() == 7) {
|
||||
helper.getView(R.id.ll_system).setVisibility(GONE);
|
||||
helper.getView(R.id.ll_gh).setVisibility(VISIBLE);
|
||||
|
||||
helper.setText(R.id.tv_sys_cons, item.getContent());
|
||||
if (item.getGuild_invited_status()==0){
|
||||
if (item.getGuild_invited_status() == 0) {
|
||||
helper.getView(R.id.ll_but).setVisibility(VISIBLE);
|
||||
helper.getView(R.id.tv_cancel2).setVisibility(GONE);
|
||||
}else if (item.getGuild_invited_status()==1){
|
||||
} else if (item.getGuild_invited_status() == 1) {
|
||||
helper.getView(R.id.ll_but).setVisibility(GONE);
|
||||
helper.getView(R.id.tv_cancel2).setVisibility(VISIBLE);
|
||||
helper.setText(R.id.tv_cancel2,"已同意");
|
||||
}else if (item.getGuild_invited_status()==2){
|
||||
helper.setText(R.id.tv_cancel2, "已同意");
|
||||
} else if (item.getGuild_invited_status() == 2) {
|
||||
helper.getView(R.id.ll_but).setVisibility(GONE);
|
||||
helper.getView(R.id.tv_cancel2).setVisibility(VISIBLE);
|
||||
helper.setText(R.id.tv_cancel2,"已拒绝");
|
||||
helper.setText(R.id.tv_cancel2, "已拒绝");
|
||||
}
|
||||
helper.getView(R.id.tv_cancel).setOnClickListener(new View.OnClickListener() {
|
||||
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
MvpPre.postInvite(item.getId()+"","2");
|
||||
MvpPre.postInvite(item.getId() + "", "2");
|
||||
helper.getView(R.id.ll_but).setVisibility(GONE);
|
||||
helper.getView(R.id.tv_cancel2).setVisibility(VISIBLE);
|
||||
helper.setText(R.id.tv_cancel2,"已拒绝");
|
||||
helper.setText(R.id.tv_cancel2, "已拒绝");
|
||||
}
|
||||
});
|
||||
|
||||
@@ -94,11 +94,11 @@ public class OfficialNoticeActivity extends BaseMvpActivity<NewsPresenter, Activ
|
||||
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
MvpPre.postInvite(item.getId()+"","1");
|
||||
MvpPre.postInvite(item.getId() + "", "1");
|
||||
helper.getView(R.id.ll_but).setVisibility(GONE);
|
||||
helper.getView(R.id.tv_cancel2).setVisibility(VISIBLE);
|
||||
helper.setText(R.id.tv_cancel2,"已同意");
|
||||
MvpPre.getMessagetitle(type, "1", "10");
|
||||
helper.setText(R.id.tv_cancel2, "已同意");
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
@@ -174,6 +174,6 @@ public class OfficialNoticeActivity extends BaseMvpActivity<NewsPresenter, Activ
|
||||
|
||||
@Override
|
||||
public void postInvite() {
|
||||
|
||||
MvpPre.getMessagetitle(type, "1", "10");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user