@Override public void onReady() { super.onReady(); addResultText.setText(String.valueOf(result)); Log.i("Displayed result " + result + " to user"); }
@Override public void onServicesConnected() { super.onServicesConnected(); result = adderService.add(number1, number2); }