private fun loadAddresses() { lifecycleScope.launch { val addresses = requireContext().components.core.autofillStorage.getAllAddresses() lifecycleScope.launch(Dispatchers.Main) { store.dispatch(AutofillAction.UpdateAddresses(addresses)) } } }
Fetches all the addresses from the autofill storage and updates the [AutofillFragmentStore] with the list of addresses.