use of org.hwyl.sexytopo.control.SurveyManager in project sexytopo by richsmith.
the class ManualEntry method addStation.
public static void addStation(final TableActivity tableActivity, final Survey survey) {
AlertDialog dialog = createDialog(R.layout.leg_edit_dialog, tableActivity, (leg, ignore) -> {
SurveyUpdater.updateWithNewStation(survey, leg);
SurveyManager manager = tableActivity.getSurveyManager();
manager.broadcastSurveyUpdated();
manager.broadcastNewStationCreated();
tableActivity.syncTableWithSurvey();
});
dialog.setTitle(R.string.manual_add_station_title);
}
Aggregations