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
a393aeb3
Commit
a393aeb3
authored
Feb 25, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:问答列表页,null异常。
parent
0c34839e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
DemoGlobalConfig.java
app/src/main/java/com/ydl/component/base/DemoGlobalConfig.java
+2
-2
config.gradle
config.gradle
+2
-2
TrendsListAdapter.java
m-dynamic/src/main/java/com/yidianling/dynamic/trendList/adapter/TrendsListAdapter.java
+2
-0
No files found.
app/src/main/java/com/ydl/component/base/DemoGlobalConfig.java
View file @
a393aeb3
...
...
@@ -20,8 +20,8 @@ import java.util.List;
public
final
class
DemoGlobalConfig
implements
IConfigModule
{
String
APP_DOMAIN
=
"https://api.github.com/"
;
// public static String appEnv = YDLConstants.ENV_AUTO_TEST;
public
static
String
appEnv
=
YDLConstants
.
ENV_TEST
;
//
public static String appEnv = YDLConstants.ENV_PROD;
//
public static String appEnv = YDLConstants.ENV_TEST;
public
static
String
appEnv
=
YDLConstants
.
ENV_PROD
;
@Override
public
void
injectAppLifecycle
(
@NotNull
Context
context
,
@NotNull
List
<
IAppLifecycles
>
lifecycles
)
{
...
...
config.gradle
View file @
a393aeb3
...
...
@@ -11,7 +11,7 @@ ext {
"m-user"
:
"0.0.61.04"
,
"m-home"
:
"0.0.22.53"
,
"m-im"
:
"0.0.18.35"
,
"m-dynamic"
:
"0.0.7.1
5
"
,
"m-dynamic"
:
"0.0.7.1
7
"
,
"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
6
"
,
"m-dynamic"
:
"0.0.7.1
7
"
,
"m-muse"
:
"0.0.20.7"
,
"m-tests"
:
"0.0.24.9"
,
...
...
m-dynamic/src/main/java/com/yidianling/dynamic/trendList/adapter/TrendsListAdapter.java
View file @
a393aeb3
...
...
@@ -250,7 +250,9 @@ public class TrendsListAdapter extends RecyclerView.Adapter<BaseViewHolder> {
holder
.
setVisibility
(
R
.
id
.
item_trend_title_tv
,
View
.
GONE
);
}
if
(
trend
.
comments
!=
null
){
showCommentsPart
(
holder
,
trend
);
}
LogUtil
.
d
(
"head: "
+
trend
.
avatar
+
" pos:"
+
position
);
LogUtil
.
d
(
"time: "
+
trend
.
timeStr
+
" source: "
+
trend
.
from
);
return
holder
.
setHeadImageWithUrl
(
R
.
id
.
item_trend_user_head_iv
,
trend
.
avatar
)
//头像
...
...
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