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
3a2e560e
Commit
3a2e560e
authored
Feb 23, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:当动态内容没有的时候,隐藏该空白栏目
parent
fd632b1d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
config.gradle
config.gradle
+2
-2
TrendsHomeFragment.java
m-dynamic/src/main/java/com/yidianling/dynamic/trendsHome/TrendsHomeFragment.java
+3
-1
TrendsContentListFragment.java
m-dynamic/src/main/java/com/yidianling/dynamic/trendsHome/content/TrendsContentListFragment.java
+2
-0
No files found.
config.gradle
View file @
3a2e560e
...
...
@@ -11,7 +11,7 @@ ext {
"m-user"
:
"0.0.61.04"
,
"m-home"
:
"0.0.22.53"
,
"m-im"
:
"0.0.18.34"
,
"m-dynamic"
:
"0.0.7.1
5
"
,
"m-dynamic"
:
"0.0.7.1
6
"
,
"m-article"
:
"0.0.0.6"
,
"m-muse"
:
"0.0.28.20"
,
...
...
@@ -94,7 +94,7 @@ ext {
"m-user"
:
"0.0.61.04"
,
"m-home"
:
"0.0.22.53"
,
"m-im"
:
"0.0.18.34"
,
"m-dynamic"
:
"0.0.7.1
5
"
,
"m-dynamic"
:
"0.0.7.1
6
"
,
"m-muse"
:
"0.0.20.7"
,
"m-tests"
:
"0.0.24.9"
,
...
...
m-dynamic/src/main/java/com/yidianling/dynamic/trendsHome/TrendsHomeFragment.java
View file @
3a2e560e
...
...
@@ -445,5 +445,7 @@ public class TrendsHomeFragment extends BaseFragment implements ITrendHomeView,
public
void
showTopTrend
(
List
<
TrendsListBean
.
ExtData
>
extDatas
)
{
mLooperTextView
.
setTipList
(
extDatas
);
}
public
void
setGoneLooperTextView
()
{
mLooperTextView
.
setVisibility
(
View
.
GONE
);
}
}
m-dynamic/src/main/java/com/yidianling/dynamic/trendsHome/content/TrendsContentListFragment.java
View file @
3a2e560e
...
...
@@ -531,6 +531,8 @@ public class TrendsContentListFragment extends BaseFragment implements ITrendsLi
public
void
showTopTrendsView
(
List
<
TrendsListBean
.
ExtData
>
extDatas
)
{
if
(
extDatas
!=
null
&&
extDatas
.
size
()
>
0
)
{
((
TrendsHomeFragment
)
getParentFragment
()).
showTopTrend
(
extDatas
);
}
else
{
((
TrendsHomeFragment
)
getParentFragment
()).
setGoneLooperTextView
();
}
}
...
...
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