- private void onAccountsChanged(MobileLedgerProfile profile, ArrayList<LedgerAccount> accounts) {
- Logger.debug("async-acc", "fragment: got new account list");
- modelAdapter.setAccounts(profile, accounts);
+ private void onAccountsChanged(List<AccountListItem> accounts) {
+ Logger.debug("async-acc",
+ String.format(Locale.US, "fragment: got new account list (%d items)",
+ accounts.size()));
+ modelAdapter.setAccounts(accounts);