Update onError signature in donations sample app.
This commit is contained in:
parent
4364e9513f
commit
31a815013e
1 changed files with 6 additions and 6 deletions
|
@ -79,15 +79,15 @@ public class MainActivity extends AppCompatActivity implements GooglePayApi.Paym
|
|||
donateButton.setClickable(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError() {
|
||||
Toast.makeText(this, "ERROR", Toast.LENGTH_SHORT).show();
|
||||
donateButton.setClickable(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCancelled() {
|
||||
Toast.makeText(this, "CANCELLED", Toast.LENGTH_SHORT).show();
|
||||
donateButton.setClickable(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(@NonNull GooglePayApi.GooglePayException googlePayException) {
|
||||
Toast.makeText(this, "ERROR", Toast.LENGTH_SHORT).show();
|
||||
donateButton.setClickable(true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue