Skip to content

Commit

Permalink
Bump version code to v0.11.0 (29)
Browse files Browse the repository at this point in the history
  • Loading branch information
h6ah4i committed Oct 29, 2017
1 parent 04faa84 commit 6c6235a
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Target platforms
Latest version
---

- Version 0.10.6 (May 6, 2017) ([RELEASE NOTES](./RELEASE-NOTES.md))
- Version 0.11.0 (October 29, 2017) ([RELEASE NOTES](./RELEASE-NOTES.md))


**Recent Breaking Change Info**
Expand All @@ -57,7 +57,7 @@ This library is published on jCenter. Just add these lines to `build.gradle`.

```gradle
dependencies {
compile ('com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.10.6@aar'){
compile ('com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.11.0@aar'){
transitive=true
}
}
Expand Down
32 changes: 32 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
## 0.11.0
[Breaking changes]
- Changed minimum SDK level to v14
- New callbacks are added to `SwipeableItemAdapter` and `DraggableItemAdapter`

[New features & improvements]
- Bumped Support libraries to v27.0.0
- A new callback `onItemSwipeStarted()` is added to `SwipeableItemAdapter` to reduce implicitly calls of the `notifyDataSetChanged()` method.

Migration code:
```java
@Override
public void onSwipeItemStarted(MyViewHolder holder, int position) {
notifyDataSetChanged(); // or you can implement better invalidation code here
}
```

- New callbacks `onItemDragStarted()` and `onItemDragFinished()` are added to `DraggableItemAdapter` to reduce implicitly calls of the `notifyDataSetChanged()` method.

Migration code:
```java
@Override
public void onItemDragStarted(int position) {
notifyDataSetChanged(); // or you can implement better invalidation code here
}

@Override
public void onItemDragFinished(int fromPosition, int toPosition, boolean result) {
notifyDataSetChanged(); // or you can implement better invalidation code here
}
```

## 0.10.6
[Bug fixes]
- Fixed some internal wrapper adapter's onViewRecycled() method is not invoked (issue #376)
Expand Down
4 changes: 2 additions & 2 deletions example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ android {
applicationId "com.h6ah4i.android.example.advrecyclerview"
minSdkVersion 14
targetSdkVersion 27
versionCode 28
versionName "0.10.6"
versionCode 29
versionName "0.11.0"
vectorDrawables.useSupportLibrary = true
}

Expand Down
4 changes: 2 additions & 2 deletions library/library-data.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# suppress inspection "UnusedProperty" for whole file
# common
VERSION_NAME=0.10.6
VERSION_CODE=28
VERSION_NAME=0.11.0
VERSION_CODE=29

# for maven-publish
POM_GROUP_ID=com.h6ah4i.android.widget.advrecyclerview
Expand Down

0 comments on commit 6c6235a

Please sign in to comment.