Previously, the order list relied on the refresh event to update when changes were detected, leading to inconsistent pagination. This PR addresses the issue by using the invalidate event instead. This ensures that the list is updated only when necessary, improving performance and ensuring a smooth pagination experience.
Part of: https://github.com/woocommerce/woocommerce-android/issues/12491
Description
Previously, the order list relied on the refresh event to update when changes were detected, leading to inconsistent pagination. This PR addresses the issue by using the invalidate event instead. This ensures that the list is updated only when necessary, improving performance and ensuring a smooth pagination experience.
Testing
It is better to test this PR using the Woo PR