Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PaymentMethod Activity UX #1494

Merged
merged 3 commits into from
Sep 11, 2019
Merged

Update PaymentMethod Activity UX #1494

merged 3 commits into from
Sep 11, 2019

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

  • Remove "save" button from top-right corner of PaymentMethodActivity
  • Trigger selecting a Payment Method by clicking on one
  • Make back button always set a result

Motivation

Refactor UI to enable deleting a Payment Method

Testing

Unit and manual testing

output

- Remove "save" button from top-right corner of `PaymentMethodActivity`
- Trigger selecting a PaymentMethod by clicking on one
- Make back button always set a result
- In samplestore's `PaymentActivity`, remove `lateinit` keyword on
  `paymentSession`. In some cases, `onActivityResult()` is called
  before `onCreate()`, so `paymentSession` is not always
  initialized before it's used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants