Examples of QQDiscuz


Examples of iqq.im.bean.QQDiscuz

                   recents.add(group);
                 }
               } break;
              
               case 2: //讨论组
                 QQDiscuz discuz = store.getDiscuzByDid(rejson.getLong("uin"));
                 if(discuz != null){
                   recents.add(discuz);
                 }
               }
               }
View Full Code Here

Examples of iqq.im.bean.QQDiscuz

    QQStore store = getContext().getStore();
        if (json.getInt("retcode") == 0) {
            JSONObject result = json.getJSONObject("result");
            JSONArray  dizlist = result.getJSONArray("dnamelist");
            for(int i=0; i<dizlist.length(); i++){
               QQDiscuz discuz = new QQDiscuz();
               JSONObject dizjson = dizlist.getJSONObject(i);
               discuz.setDid(dizjson.getLong("did"));
               discuz.setName(dizjson.getString("name"));
               store.addDiscuz(discuz);
            }
            notifyActionEvent(QQActionEvent.Type.EVT_OK, store.getDiscuzList());
        }else{
          notifyActionEvent(QQActionEvent.Type.EVT_ERROR, new QQException(QQErrorCode.UNEXPECTED_RESPONSE));
View Full Code Here

Examples of iqq.im.bean.QQDiscuz

            user = u;
            break;
          }
        }
      } else if (serviceType == 1) { // 是讨论组成员
        QQDiscuz discuz = store.getDiscuzByDid(typeId);
        for (QQUser u : discuz.getMembers()) {
          if (u.getUin() == fromUin) {
            user = u;
            break;
          }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.