Exemplo n.º 1
0
 @Override
 protected String doInBackground(Object... params) {
   return NetUtil.executePost(
       getActivity(),
       JSONRequest.setSeat((SeatData) params[0]),
       RestaurantData.local().localUrl);
 }
Exemplo n.º 2
0
    @Override
    protected List<TableStyleData> doInBackground(Object... params) {

      String result =
          NetUtil.executePost(
              getActivity().getApplicationContext(),
              JSONRequest.hallInfo(),
              RestaurantData.local().localUrl);
      styleList = new ArrayList<TableStyleData>();
      JSONParser.hallInfoParse(result, tdb);
      return styleList;
    }