private void initviews() {
   // 成为大师
   btn_beaugur = (Button) mycontext.findViewById(R.id.btn_me_beaugur);
   btn_beaugur.setOnClickListener(
       new View.OnClickListener() {
         @Override
         public void onClick(View v) {
           judgeAugur();
         }
       });
   user_head = (ImageView) mycontext.findViewById(R.id.iv_me_my_head);
   // 网络中请求
   BmobUtils.getCurrentUser(mycontext)
       .getAvatar()
       .loadImageThumbnail(mycontext, user_head, 160, 160, 100);
   tv_user_name = (TextView) mycontext.findViewById(R.id.tv_me_user_name);
   tv_gold_num = (TextView) mycontext.findViewById(R.id.tv_me_my_goldnum);
   btn_recharge = (Button) mycontext.findViewById(R.id.btn_me_recharge);
   btn_recharge.setOnClickListener(this);
   container_myfocus = (RelativeLayout) mycontext.findViewById(R.id.container_myfocus);
   container_myfocus.setOnClickListener(this);
   container_editinfo = (RelativeLayout) mycontext.findViewById(R.id.container_editdata);
   container_editinfo.setOnClickListener(this);
   container_setting = (RelativeLayout) mycontext.findViewById(R.id.container_setting);
   container_setting.setOnClickListener(this);
   container_tochat = (RelativeLayout) mycontext.findViewById(R.id.container_tochat);
   container_tochat.setOnClickListener(this);
 }
 // 点击item的跳转逻辑
 @Override
 public void onItemClicked(int position) {
   List<Augur> list = mAdapter.getMdatas();
   if (list != null && list.size() > 0) {
     // 如果没有创建房间则不能跳转
     final Augur bean = list.get(position);
     roomID1 = bean.getRoomID1();
     roomID2 = bean.getRoomID2();
     AUGURID = bean.getObjectId();
     mycontext.log(roomID1 + "  1加入的公开群" + roomID2 + " 2加入的公开群" + "augurId:" + AUGURID);
     // 进入到群组
     new Thread(
             new Runnable() {
               @Override
               public void run() {
                 try {
                   EMGroupManager.getInstance().joinGroup(roomID1); // 需异步处理
                   EMGroupManager.getInstance().joinGroup(roomID2); // 需异步处理
                   EMChat.getInstance().setAppInited();
                 } catch (EaseMobException e) {
                   e.printStackTrace();
                 }
               }
             })
         .start();
     Intent intent = new Intent(getActivity(), ChatContainerActivity.class);
     Log.e("datas", "bean.getGroupId()" + roomID1 + "1  ,  2   " + roomID2);
     Bundle bundle = new Bundle();
     bundle.putString("roomID1", roomID1);
     bundle.putString("roomID2", roomID2);
     bundle.putString("chatType", ChatContainerActivity.CHATTYPE_GROUP + "");
     bundle.putString("AUGURID", AUGURID);
     intent.putExtra("bundle", bundle);
     startActivity(intent);
   }
 }