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
4de00816
Commit
4de00816
authored
Apr 09, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#482対応。
parent
6ac18d62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebviewActivity.java
+12
-0
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebviewActivity.java
View file @
4de00816
...
...
@@ -106,6 +106,7 @@ public class ChatWebviewActivity extends ParentWebViewActivity {
private
boolean
isOnline
;
private
Long
roomId
;
private
String
roomType
;
private
String
beforeRoomType
;
private
Integer
shopMemberId
;
private
String
selectedUserIdList
;
...
...
@@ -787,6 +788,7 @@ public class ChatWebviewActivity extends ParentWebViewActivity {
roomId
=
Long
.
parseLong
(
joinRoomId
);
roomName
=
joinRoomName
;
roomType
=
chatRoom
.
type
.
toString
();
beforeRoomType
=
chatRoom
.
type
.
toString
();
mChatWebView
.
post
(
new
Runnable
()
{
@Override
public
void
run
()
{
...
...
@@ -826,6 +828,16 @@ public class ChatWebviewActivity extends ParentWebViewActivity {
}
@JavascriptInterface
public
String
getBeforeRoomType
()
{
return
beforeRoomType
;
}
@JavascriptInterface
public
void
clearBeforeRoomType
()
{
beforeRoomType
=
null
;
}
@JavascriptInterface
public
void
updateMessages
(
String
roomId
)
throws
NetworkDisconnectedException
,
AcmsException
{
MessageInfoListJSON
resultJson
=
AcmsClient
.
getInstance
(
ABVEnvironment
.
getInstance
().
networkAdapter
).
getMessages
(
sid
,
roomId
);
for
(
ChatMessageDto
chatMessageDto
:
resultJson
.
chatMessageDtoArrayList
)
{
...
...
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