コード例 #1
0
        @Override
        public void execute(Void parameter) {
          ProjectFile projectFile = createProjectFile();
          if (mProject == null) {
            mProject = new Project();
          }
          mProject.setProjectFile(projectFile);

          if (mListener != null) {
            mListener.onSaveProjectClicked();
          }
        }
コード例 #2
0
 @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();
     }
   }
 }