@Override protected LocalIndexInfo[] doInBackground(LocalIndexInfo... params) { LocalIndexHelper helper = new LocalIndexHelper((OsmandApplication) getApplication()); for (LocalIndexInfo i : params) { helper.updateDescription(i); } return params; }
@Override protected List<LocalIndexInfo> doInBackground(Activity... params) { LocalIndexHelper helper = new LocalIndexHelper((OsmandApplication) getApplication()); return helper.getAllLocalIndexData(this); }