Commit 1036f796 by Lee Jaebin

作業登録・更新時、作業作成・更新よりも先にフォームが閉じられたことをフラグで変更させる

parent 93380449
...@@ -5128,6 +5128,9 @@ public class ContentViewActivity extends ABVContentViewActivity { ...@@ -5128,6 +5128,9 @@ public class ContentViewActivity extends ABVContentViewActivity {
public void cmdProjectTaskLayout(String cmd, Map<String, String> checkParam) { public void cmdProjectTaskLayout(String cmd, Map<String, String> checkParam) {
String taskKey = checkParam.get(ABookKeys.TASK_KEY); String taskKey = checkParam.get(ABookKeys.TASK_KEY);
String taskCode = ""; String taskCode = "";
// フォームが閉いているフラグをfalseに設定
isOpenedProjectTask = false;
if (projectTaskLayout.currentLayout != null && !StringUtil.isNullOrEmpty(taskKey)) { if (projectTaskLayout.currentLayout != null && !StringUtil.isNullOrEmpty(taskKey)) {
switch(cmd){ switch(cmd){
case ABookKeys.CMD_INSERT_TASK_DIRECTIONS: case ABookKeys.CMD_INSERT_TASK_DIRECTIONS:
......
...@@ -172,6 +172,7 @@ public class ProjectTaskLayout extends RelativeLayout { ...@@ -172,6 +172,7 @@ public class ProjectTaskLayout extends RelativeLayout {
int width; int width;
int height; int height;
if(dto.taskCode == null || dto.taskCode.isEmpty()) { if(dto.taskCode == null || dto.taskCode.isEmpty()) {
// ホットスポットアイコンで表示
Logger.d(TAG, String.format("[ActionProjectTaskIcon] : taskCode=%s, dto.pdfX:%f, dto.pdfY=%f", dto.taskCode, dto.pdfX, dto.pdfY)); Logger.d(TAG, String.format("[ActionProjectTaskIcon] : taskCode=%s, dto.pdfX:%f, dto.pdfY=%f", dto.taskCode, dto.pdfX, dto.pdfY));
final ActionProjectTaskIcon taskIcon = new ActionProjectTaskIcon(context); final ActionProjectTaskIcon taskIcon = new ActionProjectTaskIcon(context);
taskIcon.startBlinkAnimation(); taskIcon.startBlinkAnimation();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment