Fix updating history adapter

This commit is contained in:
PavelRatushny 2017-11-13 11:16:25 +02:00
parent 6995b695e7
commit d290f1784b

View file

@ -265,11 +265,21 @@ public class MapMarkersHistoryFragment extends Fragment implements MapMarkersHel
@Override
public void onMapMarkerChanged(MapMarker mapMarker) {
updateAdapter();
app.runInUIThread(new Runnable() {
@Override
public void run() {
updateAdapter();
}
});
}
@Override
public void onMapMarkersChanged() {
updateAdapter();
app.runInUIThread(new Runnable() {
@Override
public void run() {
updateAdapter();
}
});
}
}