public class UpdateAccountsTask extends AsyncTask<Void, Void, ArrayList<LedgerAccount>> {
protected ArrayList<LedgerAccount> doInBackground(Void... params) {
Data.backgroundTaskCount.incrementAndGet();
public class UpdateAccountsTask extends AsyncTask<Void, Void, ArrayList<LedgerAccount>> {
protected ArrayList<LedgerAccount> doInBackground(Void... params) {
Data.backgroundTaskCount.incrementAndGet();
ArrayList<LedgerAccount> newList = new ArrayList<>();
String sql = "SELECT name, hidden FROM accounts WHERE profile = ?";
ArrayList<LedgerAccount> newList = new ArrayList<>();
String sql = "SELECT name, hidden FROM accounts WHERE profile = ?";