-public class UpdateTransactionsTask extends AsyncTask<String, Void, List<LedgerTransaction>> {
- protected List<LedgerTransaction> doInBackground(String[] filterAccName) {
- Data.backgroundTaskCount.incrementAndGet();
- String profile_uuid = Data.profile.get().getUuid();
- try {
- ArrayList<LedgerTransaction> newList = new ArrayList<>();
-
- boolean hasFilter = (filterAccName != null) && (filterAccName.length > 0) &&
- (filterAccName[0] != null) && !filterAccName[0].isEmpty();
+public class UpdateTransactionsTask extends AsyncTask<MainModel, Void, String> {
+ protected String doInBackground(MainModel[] model) {
+ final MobileLedgerProfile profile = Data.getProfile();