@Override
  public View getView(int position, View convertView, ViewGroup parent) {
    // setup convert view if it is null
    final ListCell cell;
    if (convertView == null) {
      convertView = inflator.inflate(R.layout.get_all_food, null);
      cell = new ListCell();

      cell.Name = (TextView) convertView.findViewById(R.id.Name);
      cell.Price = (TextView) convertView.findViewById(R.id.Price);

      convertView.setTag(cell);
    } else {
      cell = (ListCell) convertView.getTag();
    }
    // change the data of the cell
    try {

      JSONObject jsonObject = this.dataArray.getJSONObject(position);
      cell.Name.setText("Name :" + jsonObject.getString("Name"));
      cell.Price.setText("Price :" + jsonObject.getDouble("Price"));

    } catch (JSONException e) {
      e.printStackTrace();
    }

    return convertView;
  }