Updates the display of the credit cards based on the given [AutofillFragmentState].
fun update(state: AutofillFragmentState) { binding.progressBar.isVisible = state.isLoading binding.creditCardsList.isVisible = state.creditCards.isNotEmpty() creditCardsAdapter.submitList(state.creditCards) }