Skip to content

Commit bc76f5a

Browse files
committed
4.1.1 Release
1 parent 9c4e1e7 commit bc76f5a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ For Kotlin, there is a convenient DSL. Check out that section in the documentati
77
This library is available on maven central:
88

99
```groovy
10-
implementation 'com.hannesdorfmann:adapterdelegates4:4.1.0'
10+
implementation 'com.hannesdorfmann:adapterdelegates4:4.1.1'
1111
```
1212
[![Build Status](https://travis-ci.org/sockeqwe/AdapterDelegates.svg?branch=master)](https://travis-ci.org/sockeqwe/AdapterDelegates)
1313

@@ -16,7 +16,7 @@ Please note that since 4.0 the group id has been changed to `adapterdelegates4`.
1616
### Snapshot
1717

1818
```groovy
19-
implementation 'com.hannesdorfmann:adapterdelegates4:4.1.1-SNAPSHOT'
19+
implementation 'com.hannesdorfmann:adapterdelegates4:4.1.2-SNAPSHOT'
2020
```
2121

2222
You also have to add the url to the snapshot repository:
@@ -206,10 +206,10 @@ public class DiffAdapter extends AsyncListDifferDelegationAdapter<Animal> {
206206
There are 2 more artifacts for kotlin users that allow you to write Adapter Delegates more convenient by providing a `DSL`:
207207

208208
```
209-
implementation 'com.hannesdorfmann:adapterdelegates4-kotlin-dsl:4.1.0'
209+
implementation 'com.hannesdorfmann:adapterdelegates4-kotlin-dsl:4.1.1'
210210
211211
// If you use Kotlin Android Extensions and synthetic properties (alternative to findViewById())
212-
implementation 'com.hannesdorfmann:adapterdelegates4-kotlin-dsl-layoutcontainer:4.1.0'
212+
implementation 'com.hannesdorfmann:adapterdelegates4-kotlin-dsl-layoutcontainer:4.1.1'
213213
```
214214

215215
Now instead of creating your own class which extends `AdapterDelegate<T>` and implement the `onCreateViewHolder` and `onBindViewHolder` you can use the following Kotlin DSL to write the same `CatListItemAdapterDelegate` shown in the example above:
@@ -295,7 +295,7 @@ fun catAdapterDelegate() = adapterDelegate<Cat, Animal> {
295295
There is an additional artifact for the pagination library:
296296

297297
```gradle
298-
implementation 'com.hannesdorfmann:adapterdelegates4-pagination:4.1.0'
298+
implementation 'com.hannesdorfmann:adapterdelegates4-pagination:4.1.1'
299299
```
300300

301301
Use `PagedListDelegationAdapter`.

gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1818
# org.gradle.parallel=true
1919

20-
VERSION_NAME=4.1.1-SNAPSHOT
21-
VERSION_CODE=401
20+
VERSION_NAME=4.1.2-SNAPSHOT
21+
VERSION_CODE=412
2222
GROUP=com.hannesdorfmann
2323

2424

0 commit comments

Comments
 (0)