Commit 8274f8f21e9158c0004b47f4a6d831b41ba42422

Authored by YangShuai
1 parent 24327481

1 优化二维码占用与联系人邀请角色冲突问题

config.gradle
... ... @@ -21,7 +21,7 @@ ext {
21 21 //编译方式
22 22 debug : false,
23 23 //版本号
24   - version: "0.2.13",
  24 + version: "0.2.15",
25 25 //Lib库前缀
26 26 packeg : "com.cnlive.module",
27 27 //Lib库名称
... ...
module_xiaojiaSoundBox/src/main/java/com/cnlive/strike/xiaojiaspeaker/ui/fragment/UserManagerFragment.java
... ... @@ -97,6 +97,13 @@ public class UserManagerFragment extends MvpBindingFragment<UserManagerView, Use
97 97 getPresenter().getFamilyRole(getActivity(), XiaoJIaCommInfo.getUserId(getActivity()), currentSelectFamilyId, XiaoJIaCommInfo.getUserPhone(getActivity()));
98 98 }
99 99 }
  100 + } //已经有角色被占用
  101 + else if (EventMsg.HAS_ROLE_USED == msg.getEventType()) {
  102 + if (null != getMvpView()) {
  103 + if (!TextUtils.isEmpty(currentSelectFamilyId)) {
  104 + getPresenter().getFamilyRole(getActivity(), XiaoJIaCommInfo.getUserId(getActivity()), currentSelectFamilyId, XiaoJIaCommInfo.getUserPhone(getActivity()));
  105 + }
  106 + }
100 107 }
101 108 }
102 109 }
... ...