mul.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
a = Double.parseDouble(aval.getText().toString());
b = Double.parseDouble(bval.getText().toString());
res.setText(“Result: “+(a*b))
Please follow and like us: