@Override public void onClick(View button) { new ShoppingCart().checkout(context); AndriodUI.showToast(context.getActivity(), "The order has been successfully created"); // HtttpAsyncGetTask asyncTask = new HtttpAsyncGetTask(this); // asyncTask.execute("ShoppingCart/"+shoppingCartLineItemId); }
@Override public void onExecutionComplete(JSONObject jsonObject) { Toast.makeText(context.getActivity(), "The item has been removed from Cart", Toast.LENGTH_LONG) .show(); }