Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
6b09caef
Commit
6b09caef
authored
Jun 28, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:im-灵犀2.0-屏蔽常见问题
parent
f1c04f3a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
YDLMessageFragment.java
m-im/src/main/java/com/yidianling/uikit/business/session/fragment/YDLMessageFragment.java
+6
-6
No files found.
m-im/src/main/java/com/yidianling/uikit/business/session/fragment/YDLMessageFragment.java
View file @
6b09caef
...
...
@@ -175,7 +175,7 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
private
int
expertInfoViewHeight
=
0
;
// 专家信息栏高度
private
RecyclerView
messageListView
;
private
ConstraintLayout
top_expert_info_cl
;
private
RelativeLayout
rl_common_question_enter
;
//
private RelativeLayout rl_common_question_enter;
private
FrameLayout
fl_question_content
;
private
List
<
CommonQuestionBean
>
commonQuestionBeanList
;
private
TextView
question_multiple
;
...
...
@@ -269,7 +269,7 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
rl_contain
=
rootView
.
findViewById
(
R
.
id
.
rl_contain
);
//和助理私聊时的常用语逻辑
rl_common_question_enter
=
rootView
.
findViewById
(
R
.
id
.
rl_common_question
);
//
rl_common_question_enter = rootView.findViewById(R.id.rl_common_question);
fl_question_content
=
rootView
.
findViewById
(
R
.
id
.
fl_question_content
);
question_multiple
=
rootView
.
findViewById
(
R
.
id
.
question_multiple
);
//做灵犀2.0 去掉常用语逻辑
...
...
@@ -307,16 +307,16 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
private
void
initView
()
{
if
(
ActionHandlerStorage
.
getL
(
sessionId
)
!=
null
&&
ActionHandlerStorage
.
getL
(
sessionId
).
getUserType
()
==
3
)
{
rl_common_question_enter
.
setOnClickListener
(
v
->
{
/*
rl_common_question_enter.setOnClickListener(v -> {
if (commonQuestionBeanList != null && commonQuestionBeanList.size() > 0) {
openOrCloseCommonQuestionLayout(true);
} else {
getCommonQuestionListData();
}
});
});
*/
if
(
ChatStatusCacheHelper
.
getStatusCache
(
"chatEvent"
))
{
if
(
commonQuestionBeanList
!=
null
&&
commonQuestionBeanList
.
size
()
>
0
)
{
rl_common_question_enter
.
postDelayed
(()
->
openOrCloseCommonQuestionLayout
(
true
),
300
);
//
rl_common_question_enter.postDelayed(() -> openOrCloseCommonQuestionLayout(true), 300);
}
else
{
try
{
YdlBuryPointUtil
.
sendPv
(
"common_question_pager"
);
...
...
@@ -1385,7 +1385,7 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
commonQuestionBeanList
.
clear
();
}
commonQuestionBeanList
.
addAll
(
res
.
data
);
initCommonQuestionLayout
();
//
initCommonQuestionLayout();
}
},
throwable
->
{
...
...
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