/** * 获取好友列表信息 * * @return 作者:fighter <br> * 创建时间:2013-5-31<br> * 修改时间:<br> */ public synchronized List<CustomerVo> getFriendList() { Log.d(TAG, "getFriendList()"); if (customerVos != null) { return customerVos; } if (friendListVo != null) { try { List<CustomerVo> cVos = finalDb.findAllByWhere(CustomerVo.class, "uid in(" + friendListVo.getFriends() + ")"); if (cVos != null) { Collections.sort(cVos, pinyinComparator); } else { cVos = new ArrayList<CustomerVo>(); } checkFriendListIsUpdate(); this.customerVos = cVos; return this.customerVos; } catch (Exception e) { return null; } } else { return null; } }