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
3bcdb518
Commit
3bcdb518
authored
Dec 23, 2019
by
konghaorui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
升级im版本号
parent
bafecd11
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
DemoGlobalConfig.java
app/src/main/java/com/ydl/component/base/DemoGlobalConfig.java
+1
-1
config.gradle
config.gradle
+1
-1
MsgListAdapter.java
m-im/src/main/java/com/yidianling/im/ui/adapter/MsgListAdapter.java
+5
-4
No files found.
app/src/main/java/com/ydl/component/base/DemoGlobalConfig.java
View file @
3bcdb518
...
...
@@ -21,7 +21,7 @@ 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_
TEST
;
public
static
String
appEnv
=
YDLConstants
.
ENV_
PROD
;
@Override
public
void
injectAppLifecycle
(
@NotNull
Context
context
,
@NotNull
List
<
IAppLifecycles
>
lifecycles
)
{
...
...
config.gradle
View file @
3bcdb518
...
...
@@ -52,7 +52,7 @@ ext {
"m-muse"
:
"0.0.20.4"
,
"m-tests"
:
"0.0.15.3"
,
"m-course"
:
"0.0.34.4"
,
"m-im"
:
"0.0.3.
7
"
,
"m-im"
:
"0.0.3.
8
"
,
"m-dynamic"
:
"0.0.1.5"
,
...
...
m-im/src/main/java/com/yidianling/im/ui/adapter/MsgListAdapter.java
View file @
3bcdb518
...
...
@@ -125,15 +125,13 @@ public class MsgListAdapter extends CommonAdapter<MsgData> {
ToastHelper
.
Companion
.
show
(
msg
);
}
});
return
;
//如果是动态消息则到此结束,其它消息类型走下面流程
}
((
BaseActivity
)
context
).
showProgressDialog
(
"正在中转"
);
//如果是动态消息则到此结束,其它消息类型走下面流程
}
else
{
Disposable
di
=
httpHelper
.
getMsgDetail
(
new
MsgDetailParam
(
mDataList
.
get
(
position
).
id
))
.
compose
(
RxUtils
.
applySchedulers
(
lifecycleable
))
.
compose
(
RxUtils
.
resultData
())
.
subscribe
(
msgDetail
->
{
mDataList
.
get
(
position
).
is_read
=
2
;
((
BaseActivity
)
context
).
dismissProgressDialog
();
EventBus
.
getDefault
().
post
(
new
UpdateTabUnreadNumEvent
());
switch
(
msgDetail
.
type
)
{
case
1
:
...
...
@@ -182,6 +180,9 @@ public class MsgListAdapter extends CommonAdapter<MsgData> {
ToastHelper
.
Companion
.
show
(
msg
);
}
});
}
}
});
return
convertView
;
...
...
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