Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
aedd385e91
1 changed files with 5 additions and 2 deletions
|
@ -73,16 +73,19 @@ public class DashOsMoFragment extends DashLocationFragment implements OsMoGroups
|
|||
plugin = OsmandPlugin.getEnabledPlugin(OsMoPlugin.class);
|
||||
if (plugin != null) {
|
||||
plugin.getGroups().addUiListeners(this);
|
||||
plugin.setGroupsActivity(getActivity());
|
||||
}
|
||||
setupOsMoView();
|
||||
plugin.setGroupsActivity(getActivity());
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDetach() {
|
||||
super.onDetach();
|
||||
if (plugin != null) {
|
||||
plugin.setGroupsActivity(null);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDestroy() {
|
||||
|
|
Loading…
Reference in a new issue