@Override
  protected ListBean<MessageBean> getDoInBackgroundMiddleData(String beginId, String endId)
      throws WeiboException {
    MainFriendsTimeLineDao dao = new MainFriendsTimeLineDao(token);
    dao.setMax_id(beginId);
    dao.setSince_id(endId);

    MessageListBean result = dao.getGSONMsgList();

    return result;
  }
 @Override
 protected MessageListBean getDoInBackgroundNewData() throws WeiboException {
   MainFriendsTimeLineDao dao;
   if (selectedId.equals("1")) {
     dao = new BilateralTimeLineDao(token);
   } else if (selectedId.equals("0")) {
     dao = new MainFriendsTimeLineDao(token);
   } else {
     dao = new FriendGroupTimeLineDao(token, selectedId);
   }
   if (getList().getItemList().size() > 0) {
     dao.setSince_id(getList().getItemList().get(0).getId());
   }
   MessageListBean result = dao.getGSONMsgList();
   if (result != null && selectedId.equals("0")) {
     DatabaseManager.getInstance().addHomeLineMsg(result, accountBean.getUid());
   }
   return result;
 }