@Override protected void hideMenu() { MainActivity.getInstance() .getMainMenu() .findItem(R.id.main_activity_menu_action_sync) .setVisible(true); }
public void execute() { MainActivity.getInstance().synchronize(SyncType.REGULAR); }
public VisitTabContentFactory(TaskVisitEntity visit) { _tabs = new HashMap<String, SfsContentView>(); mTaskVisitEntity = visit; MainActivity.getInstance().mCurrentVisit = mTaskVisitEntity; }