import android.support.annotation.NonNull;
import android.text.TextUtils;
import android.view.View;
import android.widget.TextView;
import co.smartreceipts.android.model.Distance;
<BUG>import co.smartreceipts.android.persistence.Preferences;
import co.smartreceipts.android.sync.BackupProvidersManager;</BUG>
public class DistanceAdapter extends CardAdapter<Distance> {
<BUG>public DistanceAdapter(@NonNull Context context, @NonNull Preferences preferences, @NonNull BackupProvidersManager backupProvidersManager) {
</BUG>
super(context, preferences, backupProvidersManager);

import android.support.annotation.NonNull;
import android.text.TextUtils;
import android.view.View;
import android.widget.TextView;
import co.smartreceipts.android.model.Distance;
import co.smartreceipts.android.persistence.Preferences;
import co.smartreceipts.android.settings.UserPreferenceManager;
import co.smartreceipts.android.settings.catalog.UserPreference;
import co.smartreceipts.android.sync.BackupProvidersManager;
public class DistanceAdapter extends CardAdapter<Distance> {
public DistanceAdapter(@NonNull Context context, @NonNull UserPreferenceManager preferences, @NonNull BackupProvidersManager backupProvidersManager) {
super(context, preferences, backupProvidersManager);
