Merge branch 'master' of https://github.com/osmandapp/Osmand
This commit is contained in:
commit
68efe7ab4f
5 changed files with 14 additions and 11 deletions
|
@ -659,4 +659,5 @@
|
|||
<string name="poi_attraction_train">Tog (attraktion)</string>
|
||||
<string name="poi_water_slide">Vandrutsjebane</string>
|
||||
|
||||
<string name="poi_tower">Tårn</string>
|
||||
</resources>
|
||||
|
|
|
@ -641,4 +641,5 @@
|
|||
<string name="poi_attraction_train">기차 (명소)</string>
|
||||
<string name="poi_water_slide">워터 슬라이드</string>
|
||||
|
||||
<string name="poi_tower">타워</string>
|
||||
</resources>
|
||||
|
|
|
@ -86,6 +86,12 @@ public class FavouritesListFragment extends SherlockListFragment implements Sear
|
|||
}
|
||||
}
|
||||
locationUpdate(location);
|
||||
|
||||
//This fixes the "all lists are empty when returning to the Dashboard" issue, but should likely be placed more centrally, like in MainMenuActivity?
|
||||
View view = getView();
|
||||
if (view != null) {
|
||||
view.invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,7 +2,6 @@ package net.osmand.plus.dashboard;
|
|||
|
||||
import com.actionbarsherlock.app.SherlockFragment;
|
||||
import net.osmand.plus.OsmandApplication;
|
||||
import android.view.View;
|
||||
|
||||
/**
|
||||
* Created by Denis on 24.11.2014.
|
||||
|
@ -13,14 +12,4 @@ public class DashBaseFragment extends SherlockFragment {
|
|||
return (OsmandApplication) getActivity().getApplication();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
//This fixes the "list are empty when returning to the Dashboard" issue
|
||||
View view = getView();
|
||||
if (view != null) {
|
||||
view.invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -69,6 +69,12 @@ public class DashUpdatesFragment extends DashBaseFragment {
|
|||
cancelButton = null;
|
||||
}
|
||||
updatedDownloadsList(BaseDownloadActivity.downloadListIndexThread.getItemsToUpdate());
|
||||
|
||||
//This fixes the "all lists are empty when returning to the Dashboard" issue, but should likely be placed more centrally, like in MainMenuActivity?
|
||||
View view = getView();
|
||||
if (view != null) {
|
||||
view.invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
public void updatedDownloadsList(List<IndexItem> list) {
|
||||
|
|
Loading…
Reference in a new issue