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 @Override
public void onMapMarkerChanged(MapMarker mapMarker) { public void onMapMarkerChanged(MapMarker mapMarker) {
app.runInUIThread(new Runnable() {
@Override
public void run() {
updateAdapter(); updateAdapter();
} }
});
}
@Override @Override
public void onMapMarkersChanged() { public void onMapMarkersChanged() {
app.runInUIThread(new Runnable() {
@Override
public void run() {
updateAdapter(); updateAdapter();
} }
});
}
} }