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
c3fb4527
Commit
c3fb4527
authored
Aug 25, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat/wjy/合规' into 'd/v4.4.08'
ip See merge request app_android_lib/YDL-Component!341
parents
2e1fc10a
d32e7f5d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
TrendsDetailActivity.java
m-dynamic/src/main/java/com/yidianling/dynamic/trendsDetail/TrendsDetailActivity.java
+2
-2
No files found.
m-dynamic/src/main/java/com/yidianling/dynamic/trendsDetail/TrendsDetailActivity.java
View file @
c3fb4527
...
...
@@ -948,7 +948,7 @@ public class TrendsDetailActivity extends BaseMvpActivity<ITrendsDetailView, ITr
holder
.
setHeadImageWithUrl
(
R
.
id
.
item_recommend_trend_user_head_iv
,
data
.
getHeader
());
//头像
holder
.
setText
(
R
.
id
.
text_userName
,
data
.
getName
());
//用户名
holder
.
setText
(
R
.
id
.
text_time
,
data
.
getTime_str
());
//发布时间
holder
.
setText
(
R
.
id
.
tv_ip
,
"IP属地: "
+
data
.
getIpProvince
());
// IP属地
if
(!
TextUtils
.
isEmpty
(
data
.
getIpProvince
()))
holder
.
setText
(
R
.
id
.
tv_ip
,
"IP属地: "
+
data
.
getIpProvince
());
// IP属地
holder
.
setImageResource
(
R
.
id
.
img_comment_sex
,
data
.
getGender
()
==
1
?
R
.
drawable
.
dynamic_male
:
R
.
drawable
.
dynamic_female
);
holder
.
setImageResource
(
R
.
id
.
img_comment_zan
,
data
.
getIs_zan
()
==
1
?
R
.
drawable
.
dynamic_reply_zan_sel
:
R
.
drawable
.
dynamic_reply_zan
);
showCommentItemContent
(
holder
,
data
);
...
...
@@ -1423,7 +1423,7 @@ public class TrendsDetailActivity extends BaseMvpActivity<ITrendsDetailView, ITr
}
tvUserName
.
setText
(
mTrendBody
.
name
);
tvTime
.
setText
(
mTrendBody
.
timeStr
);
//发布时间
tvFrom
.
setText
(
"IP属地: "
+
mTrendBody
.
ipProvince
);
// IP属地
if
(!
TextUtils
.
isEmpty
(
mTrendBody
.
ipProvince
))
tvFrom
.
setText
(
"IP属地: "
+
mTrendBody
.
ipProvince
);
// IP属地
if
(
TextUtils
.
isEmpty
(
mTrendBody
.
title
))
{
tvTrendInfoTitle
.
setVisibility
(
GONE
);
...
...
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