@Override public void execute(Void parameter) { ProjectFile projectFile = createProjectFile(); if (mProject == null) { mProject = new Project(); } mProject.setProjectFile(projectFile); if (mListener != null) { mListener.onSaveProjectClicked(); } }
@Override public void execute(Void parameter) { if (mListener != null) { ProjectFile projectFile = createProjectFile(); if (mProject == null) { mProject = new Project(); } mProject.setProjectFile(projectFile); if (getProject().getGistID() == null) { mListener.projectNotUploaded(); } else { mListener.startCamera(); } } }