diff --git a/stripe/src/main/java/com/stripe/android/view/PaymentMethodsAdapter.kt b/stripe/src/main/java/com/stripe/android/view/PaymentMethodsAdapter.kt index 08c60f6df4b..25859310315 100644 --- a/stripe/src/main/java/com/stripe/android/view/PaymentMethodsAdapter.kt +++ b/stripe/src/main/java/com/stripe/android/view/PaymentMethodsAdapter.kt @@ -107,11 +107,14 @@ internal class PaymentMethodsAdapter @JvmOverloads constructor( private fun onPositionClicked(position: Int) { if (selectedIndex != position) { // selected a Payment Method that wasn't previously selected - notifyItemChanged(position) notifyItemChanged(selectedIndex) setSelectedIndex(position) } + // Notify the current position even if it's the currently selected position so that the + // ItemAnimator defined in PaymentMethodActivity is triggered. + notifyItemChanged(position) + handler.post { listener?.onClick(paymentMethods[position]) }