Fix updating history adapter
This commit is contained in:
parent
6995b695e7
commit
d290f1784b
1 changed files with 12 additions and 2 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue