Esempio n. 1
0
 // 查询新品上线
 private void searchGoods() {
   HashMap<String, String> paramMap = CommonDataUtil.getCommonParams(getActivity());
   HttpParam httpParam =
       new HttpParam(ReleaseConfigure.HOMEPAGE_VALUE_PRODUCT_LIST_TYPE_NEW, false); // GET
   searchGoodsHttpTask = new HttpTask(getActivity(), this);
   httpParam.setParams(paramMap);
   searchGoodsHttpTask.execute(httpParam);
   commonProgressDialog.loadDialog();
 }
Esempio n. 2
0
 // 查询商品分类二级
 private void searchTwo(int typeid, int orderid) {
   HashMap<String, String> paramMap = CommonDataUtil.getCommonParams(getActivity());
   paramMap.put(Constants.TYPEID, String.valueOf(typeid));
   paramMap.put(Constants.ORDERID, String.valueOf(orderid));
   HttpParam httpParam = new HttpParam(ReleaseConfigure.HOMEPAGE_VALUE_TWO_GOODS, false); // GET
   searchGoodsHttpTask = new HttpTask(getActivity(), this);
   httpParam.setParams(paramMap);
   searchGoodsHttpTask.execute(httpParam);
   commonProgressDialog.loadDialog();
 }