@Override public void onEventReopened() { Event event = imin.getUser().getCurrentEvent(); // Set closed flag event.setClosed(false); // Event reopened dialogCloseProgress.dismiss(); // Show a Toast notifying DialogInformation.build(this) .show(getString(R.string.event_reopened), DialogInformation.ICON_INFO); }
@Override public void onEventClosed() { Event event = imin.getUser().getCurrentEvent(); // Set closed flag event.setClosed(true); event.setFinalDateTimeProposal(imin.getUser().getSelectedDateTimeProposal()); event.setFinalLocationProposal(imin.getUser().getSelectedLocationProposal()); // Event closed dialogCloseProgress.dismiss(); // Show information dialog dialogClosed(); }