Beispiel #1
0
 @Override
 protected String doInBackground(Object... params) {
   return NetUtil.executePost(
       getActivity(),
       JSONRequest.setSeat((SeatData) params[0]),
       RestaurantData.local().localUrl);
 }
Beispiel #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;
    }