Skip to content

Commit

Permalink
fix bug, prepare release messagelist 0.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
KenChoi authored and KenChoi committed Nov 28, 2017
1 parent f98e07a commit 710769f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Android/messagelist/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'com.android.library'
ext {
PUBLISH_GROUP_ID = 'cn.jiguang.imui'
PUBLISH_ARTIFACT_ID = 'messagelist'
PUBLISH_VERSION = '0.5.4'
PUBLISH_VERSION = '0.5.5'
}

android {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public int getItemViewType(int position) {

private int getCustomType(IMessage message) {
for (int i=0; i < mCustomMsgList.size(); i++) {
CustomMsgConfig config = mCustomMsgList.valueAt(0);
CustomMsgConfig config = mCustomMsgList.valueAt(i);
if (message.getType().getCustomType() == config.getViewType()) {
return config.getViewType();
}
Expand Down
6 changes: 3 additions & 3 deletions docs/Android/message_list_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ We have support several ways to add dependency. You can choose one of them.

- Gradle:
```groovy
compile 'cn.jiguang.imui:messagelist:0.5.4'
compile 'cn.jiguang.imui:messagelist:0.5.5'
```

- Maven:
```groovy
<dependency>
<groupId>cn.jiguang.imui</groupId>
<artifactId>messagelist</artifactId>
<version>0.5.4</version>
<version>0.5.5</version>
<type>pom</type>
</dependency>
```
Expand All @@ -35,7 +35,7 @@ allprojects {
// Add in module's build.gradle
dependencies {
compile 'com.github.jpush:imui:0.6.0'
compile 'com.github.jpush:imui:0.6.1'
}
```

Expand Down
6 changes: 3 additions & 3 deletions docs/Android/message_list_usage_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
- Gradle

```groovy
compile 'cn.jiguang.imui:messagelist:0.5.4'
compile 'cn.jiguang.imui:messagelist:0.5.5'
```

- Maven
```
<dependency>
<groupId>cn.jiguang.imui</groupId>
<artifactId>messagelist</artifactId>
<version>0.5.4</version>
<version>0.5.5</version>
<type>pom</type>
</dependency>
```
Expand All @@ -34,7 +34,7 @@ allprojects {
// module/build.gradle
dependencies {
compile 'com.github.jpush:imui:0.6.0'
compile 'com.github.jpush:imui:0.6.1'
}
```

Expand Down

0 comments on commit 710769f

Please sign in to comment.