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
5bfd50f8
Commit
5bfd50f8
authored
Jul 09, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:调整间距
parent
310747bd
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
SpanUtils.java
m-im/src/main/java/com/yidianling/im/helper/SpanUtils.java
+0
-0
MsgViewHolderLingxiAnswerQuestion.java
m-im/src/main/java/com/yidianling/im/session/viewholder/MsgViewHolderLingxiAnswerQuestion.java
+4
-2
YDLMessageFragment.java
m-im/src/main/java/com/yidianling/uikit/business/session/fragment/YDLMessageFragment.java
+1
-0
No files found.
m-im/src/main/java/com/yidianling/im/helper/SpanUtils.java
0 → 100644
View file @
5bfd50f8
This diff is collapsed.
Click to expand it.
m-im/src/main/java/com/yidianling/im/session/viewholder/MsgViewHolderLingxiAnswerQuestion.java
View file @
5bfd50f8
package
com
.
yidianling
.
im
.
session
.
viewholder
;
import
android.text.SpannableString
;
import
android.view.View
;
import
android.widget.TextView
;
import
com.yidianling.im.R
;
import
com.yidianling.im.helper.SpanUtils
;
import
com.yidianling.im.session.extension.CustomAttachLingxiAnswerQuestion
;
import
com.yidianling.im.session.viewholder.bean.QuestionItemBean
;
import
com.yidianling.nimbase.common.ui.recyclerview.adapter.BaseMultiItemFetchLoadAdapter
;
...
...
@@ -66,10 +68,10 @@ public class MsgViewHolderLingxiAnswerQuestion extends MsgViewHolderBase {
if
(!
isContainsOther
){
sb
.
replace
(
0
,
1
,
""
);
}
if
(
others
==
null
&&
others
.
isEmpty
()
){
if
(
others
==
null
){
answer_question
.
setText
(
sb
.
toString
());
}
else
{
answer_question
.
setText
(
sb
.
append
(
"\r\n"
).
append
(
others
).
toString
()
);
SpanUtils
.
with
(
answer_question
).
append
(
sb
).
append
(
"\r\n\n"
).
setFontSize
(
10
).
append
(
others
).
create
(
);
}
}
}
...
...
m-im/src/main/java/com/yidianling/uikit/business/session/fragment/YDLMessageFragment.java
View file @
5bfd50f8
...
...
@@ -1056,6 +1056,7 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
multipleAnswerBean
=
event
.
getMultipleAnswerBean
();
multipleAnswerBean
.
setAnswersItems
(
answersItems
);
if
(
event
.
getRecoverInput
()){
question_multiple
.
setVisibility
(
View
.
GONE
);
inputPanel
.
onlyShowTextEnd
();
return
;
}
...
...
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