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
b27114c6
Commit
b27114c6
authored
Jul 21, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:灵犀BUG修改
parent
64f06043
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
4 deletions
+22
-4
config.gradle
config.gradle
+2
-2
MsgViewHolderLingxiAnswerQuestion.java
m-im/src/main/java/com/yidianling/im/session/viewholder/MsgViewHolderLingxiAnswerQuestion.java
+0
-1
MsgViewHolderLingxiWhichQuestion.java
m-im/src/main/java/com/yidianling/im/session/viewholder/MsgViewHolderLingxiWhichQuestion.java
+20
-1
No files found.
config.gradle
View file @
b27114c6
...
...
@@ -10,7 +10,7 @@ ext {
"m-fm"
:
"0.0.30.03"
,
"m-user"
:
"0.0.61.39"
,
"m-home"
:
"0.0.22.69"
,
"m-im"
:
"0.0.19.7
0
"
,
"m-im"
:
"0.0.19.7
1
"
,
"m-dynamic"
:
"0.0.7.28"
,
"m-article"
:
"0.0.0.10"
,
...
...
@@ -93,7 +93,7 @@ ext {
"m-fm"
:
"0.0.30.01"
,
"m-user"
:
"0.0.61.39"
,
"m-home"
:
"0.0.22.69"
,
"m-im"
:
"0.0.19.7
0
"
,
"m-im"
:
"0.0.19.7
1
"
,
"m-dynamic"
:
"0.0.7.28"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-im/src/main/java/com/yidianling/im/session/viewholder/MsgViewHolderLingxiAnswerQuestion.java
View file @
b27114c6
package
com
.
yidianling
.
im
.
session
.
viewholder
;
import
android.text.SpannableString
;
import
android.view.View
;
import
android.widget.TextView
;
...
...
m-im/src/main/java/com/yidianling/im/session/viewholder/MsgViewHolderLingxiWhichQuestion.java
View file @
b27114c6
...
...
@@ -177,11 +177,30 @@ public class MsgViewHolderLingxiWhichQuestion extends MsgViewHolderBase implemen
}
}
}
if
(
multipleAnswers
.
size
()>
0
){
confirm_multiple_choice
.
setEnabled
(
true
);
confirm_multiple_choice
.
setText
(
String
.
format
(
"确定(%d)"
,
multipleAnswers
.
size
()));
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
LOLLIPOP
)
{
confirm_multiple_choice
.
setBackground
(
context
.
getResources
().
getDrawable
(
R
.
drawable
.
im_background_18dp_1da1f2
));
}
}
else
{
confirm_multiple_choice
.
setEnabled
(
false
);
confirm_multiple_choice
.
setText
(
"确定"
);
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
LOLLIPOP
)
{
confirm_multiple_choice
.
setBackground
(
context
.
getDrawable
(
R
.
drawable
.
im_background_18dp_ebebeb
));
}
}
}
}
else
{
//可点击
if
(!
singleOrMultipletype
.
contains
(
"radio"
)){
confirm_multiple_choice
.
setEnabled
(
false
);
confirm_multiple_choice
.
setText
(
"确定"
);
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
LOLLIPOP
)
{
confirm_multiple_choice
.
setBackground
(
context
.
getDrawable
(
R
.
drawable
.
im_background_18dp_ebebeb
));
}
}
}
}
catch
(
Exception
e
)
{
LogUtil
.
e
(
"aaaaa"
+
e
.
getLocalizedMessage
());
...
...
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