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
626078d0
Commit
626078d0
authored
Aug 18, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:修复当对方发消息时,键盘收起情况
parent
815485a1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
14 deletions
+5
-14
DemoGlobalConfig.java
app/src/main/java/com/ydl/component/base/DemoGlobalConfig.java
+2
-2
config.gradle
config.gradle
+2
-2
CustomAttachParser.java
m-im/src/main/java/com/yidianling/im/session/extension/CustomAttachParser.java
+0
-2
InputPanel.java
m-im/src/main/java/com/yidianling/uikit/business/session/module/input/InputPanel.java
+0
-2
MessageListPanelEx.java
m-im/src/main/java/com/yidianling/uikit/business/session/module/list/MessageListPanelEx.java
+1
-6
No files found.
app/src/main/java/com/ydl/component/base/DemoGlobalConfig.java
View file @
626078d0
...
...
@@ -20,9 +20,9 @@ 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_TEST;
// public static String appEnv = YDLConstants.ENV_NEW_TEST;//配置未上传到maven库
//
public static String appEnv = YDLConstants.ENV_PROD;
public
static
String
appEnv
=
YDLConstants
.
ENV_PROD
;
@Override
public
void
injectAppLifecycle
(
@NotNull
Context
context
,
@NotNull
List
<
IAppLifecycles
>
lifecycles
)
{
...
...
config.gradle
View file @
626078d0
...
...
@@ -10,7 +10,7 @@ ext {
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.61.42"
,
"m-home"
:
"0.0.22.70"
,
"m-im"
:
"0.0.19.7
6
"
,
"m-im"
:
"0.0.19.7
7
"
,
"m-dynamic"
:
"0.0.7.29"
,
"m-article"
:
"0.0.0.10"
,
...
...
@@ -93,7 +93,7 @@ ext {
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.61.42"
,
"m-home"
:
"0.0.22.70"
,
"m-im"
:
"0.0.19.7
6
"
,
"m-im"
:
"0.0.19.7
7
"
,
"m-dynamic"
:
"0.0.7.29"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-im/src/main/java/com/yidianling/im/session/extension/CustomAttachParser.java
View file @
626078d0
...
...
@@ -4,7 +4,6 @@ import com.alibaba.fastjson.JSON;
import
com.alibaba.fastjson.JSONObject
;
import
com.netease.nimlib.sdk.msg.attachment.MsgAttachment
;
import
com.netease.nimlib.sdk.msg.attachment.MsgAttachmentParser
;
import
com.ydl.ydlcommon.utils.LogUtil
;
/**
* Created by zhoujianghua on 2015/4/9.
...
...
@@ -21,7 +20,6 @@ public class CustomAttachParser implements MsgAttachmentParser {
JSONObject
object
=
JSON
.
parseObject
(
json
);
int
type
=
object
.
getInteger
(
KEY_TYPE
);
JSONObject
data
=
object
.
getJSONObject
(
KEY_DATA
);
LogUtil
.
e
(
"aaaaaaa"
+
type
);
switch
(
type
)
{
case
CustomAttachmentType
.
Guess
:
// attachment = new GuessAttachment();
...
...
m-im/src/main/java/com/yidianling/uikit/business/session/module/input/InputPanel.java
View file @
626078d0
...
...
@@ -42,9 +42,7 @@ import com.tbruyelle.rxpermissions2.Permission;
import
com.tbruyelle.rxpermissions2.RxPermissions
;
import
com.yidianling.common.tools.ToastUtil
;
import
com.yidianling.im.R
;
import
com.yidianling.im.event.MultipleAnswerBean
;
import
com.yidianling.im.event.MultipleSelectedEvent
;
import
com.yidianling.im.router.ImIn
;
import
com.yidianling.nimbase.api.UIKitOptions
;
import
com.yidianling.nimbase.api.model.session.SessionCustomization
;
import
com.yidianling.nimbase.business.session.actions.BaseAction
;
...
...
m-im/src/main/java/com/yidianling/uikit/business/session/module/list/MessageListPanelEx.java
View file @
626078d0
...
...
@@ -299,12 +299,7 @@ public class MessageListPanelEx {
IMMessage
lastMsg
=
messages
.
get
(
messages
.
size
()
-
1
);
if
(
isMyMessage
(
lastMsg
))
{
if
(
needScrollToBottom
)
{
messageListView
.
postDelayed
(
new
Runnable
()
{
@Override
public
void
run
()
{
messageListView
.
smoothScrollToPosition
(
adapter
.
getBottomDataPosition
());
}
},
300
);
doScrollToBottom
();
}
else
if
(
incomingMsgPrompt
!=
null
&&
lastMsg
.
getSessionType
()
!=
SessionTypeEnum
.
ChatRoom
)
{
if
(
lastMsg
.
getAttachment
()
instanceof
CustomAttachLingxiWhichQuestion
){
messageListView
.
postDelayed
(
new
Runnable
()
{
...
...
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