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

Create ActivityPaymentSessionListener #864

Merged
merged 1 commit into from Apr 11, 2019

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

ActivityPaymentSessionListener is an abstract
implementation of PaymentSessionListener that
handles holding a WeakReference to an Activity
context to avoid memory leaks in the listener's
callback methods.

Motivation

ANDROID-348

Testing

Manually tested in sample apps

**Summary**
`ActivityPaymentSessionListener` is an abstract
implementation of `PaymentSessionListener` that
handles holding a `WeakReference` to an `Activity`
context to avoid memory leaks in the listener's
callback methods.

**Motivation**
ANDROID-348

**Testing**
Manually tested in sample apps
@mshafrir-stripe mshafrir-stripe force-pushed the activity-payment-session-listener branch from 7ca4cde to 361863b Compare April 11, 2019 16:48
@mshafrir-stripe mshafrir-stripe changed the base branch from fix-weak-refs to master April 11, 2019 16:48
@mshafrir-stripe mshafrir-stripe merged commit 7208c62 into master Apr 11, 2019
@mshafrir-stripe mshafrir-stripe deleted the activity-payment-session-listener branch April 11, 2019 20:45
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.

None yet

3 participants