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

Re-render shipping methods screen when shipping methods change #2887

Merged
merged 1 commit into from
Sep 23, 2020

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

PagerAdapter does not automatically recreate the views for its items
when notifyDataSetChanged() is called. Instead, mark the shipping
methods view as no longer valid in getItemPosition().

Motivation

Fix issue where only the first result from ShippingMethodsFactory#create()
is rendered.

Testing

shipping_methods

`PagerAdapter` does not automatically recreate the views for its items
when `notifyDataSetChanged()` is called. Instead, mark the shipping
methods view as no longer valid in `getItemPosition()`
@mshafrir-stripe mshafrir-stripe merged commit a5579c9 into master Sep 23, 2020
@mshafrir-stripe mshafrir-stripe deleted the fix-shipping-methods branch September 23, 2020 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants