Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
aea5bfc9ea
2 changed files with 3 additions and 2 deletions
|
@ -78,7 +78,7 @@ public class SplitSegmentFragment extends OsmAndListFragment {
|
|||
public void onViewCreated(View view, Bundle savedInstanceState) {
|
||||
super.onViewCreated(view, savedInstanceState);
|
||||
updateContent();
|
||||
updateHeader();
|
||||
// Obsolete: updateHeader();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -213,6 +213,7 @@ public class SplitSegmentFragment extends OsmAndListFragment {
|
|||
adapter.add(overviewSegments);
|
||||
List<GpxDisplayItem> splitSegments = getSplitSegments();
|
||||
adapter.addAll(splitSegments);
|
||||
// Obsolete: adapter.setNotifyOnChange(true);
|
||||
adapter.notifyDataSetChanged();
|
||||
getListView().setSelection(0);
|
||||
headerView.setTranslationY(0);
|
||||
|
|
|
@ -757,7 +757,7 @@ public class TrackSegmentFragment extends OsmAndListFragment {
|
|||
for (GpxDisplayItem i : flatten(groups)) {
|
||||
adapter.add(i);
|
||||
}
|
||||
adapter.setNotifyOnChange(true);
|
||||
// Obsolete: adapter.setNotifyOnChange(true);
|
||||
adapter.notifyDataSetChanged();
|
||||
if (getActivity() != null) {
|
||||
updateHeader();
|
||||
|
|
Loading…
Reference in a new issue