Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
15ff14d4
Commit
15ff14d4
authored
Sep 06, 2021
by
onuma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#44357 コミュニケーションダイアログが、ボタン2回連続タップすると消えなくなる
parent
4790e604
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
5 deletions
+19
-5
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVAuthenticatedActivity.java
+19
-5
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVAuthenticatedActivity.java
View file @
15ff14d4
...
@@ -818,6 +818,10 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co
...
@@ -818,6 +818,10 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co
* コミュニケーションメニューダイアログ
* コミュニケーションメニューダイアログ
*/
*/
public
void
showCommunicationMenuDialog
()
{
public
void
showCommunicationMenuDialog
()
{
if
(
mCommunicationMenuDialog
!=
null
)
{
// すでに作成されている場合はなにもしない
return
;
}
mCommunicationMenuDialog
=
new
Dialog
(
this
);
mCommunicationMenuDialog
=
new
Dialog
(
this
);
mCommunicationMenuDialog
.
requestWindowFeature
(
Window
.
FEATURE_NO_TITLE
);
mCommunicationMenuDialog
.
requestWindowFeature
(
Window
.
FEATURE_NO_TITLE
);
mCommunicationMenuDialog
.
setCanceledOnTouchOutside
(
false
);
mCommunicationMenuDialog
.
setCanceledOnTouchOutside
(
false
);
...
@@ -846,7 +850,7 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co
...
@@ -846,7 +850,7 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co
@Override
@Override
public
void
onClick
(
View
view
)
{
public
void
onClick
(
View
view
)
{
ActivityHandlingHelper
.
getInstance
().
startMeetingActivity
();
ActivityHandlingHelper
.
getInstance
().
startMeetingActivity
();
mCommunicationMenuDialog
.
dismiss
();
finishCommunicationMenuDialog
();
}
}
});
});
...
@@ -855,7 +859,7 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co
...
@@ -855,7 +859,7 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co
@Override
@Override
public
void
onClick
(
View
view
)
{
public
void
onClick
(
View
view
)
{
showOperationSelectDialog
();
showOperationSelectDialog
();
mCommunicationMenuDialog
.
dismiss
();
finishCommunicationMenuDialog
();
}
}
});
});
...
@@ -864,7 +868,7 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co
...
@@ -864,7 +868,7 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co
@Override
@Override
public
void
onClick
(
View
view
)
{
public
void
onClick
(
View
view
)
{
showPushMessageListDialog
();
showPushMessageListDialog
();
mCommunicationMenuDialog
.
dismiss
();
finishCommunicationMenuDialog
();
}
}
});
});
...
@@ -883,7 +887,7 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co
...
@@ -883,7 +887,7 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co
targetActivityName
=
OperationRelatedContentActivity
.
class
.
getName
();
targetActivityName
=
OperationRelatedContentActivity
.
class
.
getName
();
}
}
ActivityHandlingHelper
.
getInstance
().
startChatWebViewActivity
(
new
Long
(
0
),
""
,
ChatWebViewActivity
.
class
.
getName
(),
targetActivityName
);
ActivityHandlingHelper
.
getInstance
().
startChatWebViewActivity
(
new
Long
(
0
),
""
,
ChatWebViewActivity
.
class
.
getName
(),
targetActivityName
);
mCommunicationMenuDialog
.
dismiss
();
finishCommunicationMenuDialog
();
}
}
});
});
}
else
{
}
else
{
...
@@ -893,13 +897,23 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co
...
@@ -893,13 +897,23 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co
mCommunicationMenuDialog
.
findViewById
(
R
.
id
.
close_btn
).
setOnClickListener
(
new
View
.
OnClickListener
()
{
mCommunicationMenuDialog
.
findViewById
(
R
.
id
.
close_btn
).
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
@Override
public
void
onClick
(
View
v
)
{
public
void
onClick
(
View
v
)
{
mCommunicationMenuDialog
.
dismiss
();
finishCommunicationMenuDialog
();
}
}
});
});
mCommunicationMenuDialog
.
show
();
mCommunicationMenuDialog
.
show
();
}
}
/**
* コミュニケーションダイアログ閉じる
*/
private
void
finishCommunicationMenuDialog
()
{
if
(
mCommunicationMenuDialog
!=
null
)
{
mCommunicationMenuDialog
.
dismiss
();
mCommunicationMenuDialog
=
null
;
}
}
private
void
showOperationSelectDialog
()
{
private
void
showOperationSelectDialog
()
{
OperationDao
operationDao
=
AbstractDao
.
getDao
(
OperationDao
.
class
);
OperationDao
operationDao
=
AbstractDao
.
getDao
(
OperationDao
.
class
);
mOperationSelectDialog
=
new
Dialog
(
this
);
mOperationSelectDialog
=
new
Dialog
(
this
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment