Skip to content

Commit

Permalink
4.1.1 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
sockeqwe committed Jul 21, 2019
1 parent 9c4e1e7 commit bc76f5a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ For Kotlin, there is a convenient DSL. Check out that section in the documentati
This library is available on maven central:

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

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

```groovy
implementation 'com.hannesdorfmann:adapterdelegates4:4.1.1-SNAPSHOT'
implementation 'com.hannesdorfmann:adapterdelegates4:4.1.2-SNAPSHOT'
```

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

```
implementation 'com.hannesdorfmann:adapterdelegates4-kotlin-dsl:4.1.0'
implementation 'com.hannesdorfmann:adapterdelegates4-kotlin-dsl:4.1.1'
// If you use Kotlin Android Extensions and synthetic properties (alternative to findViewById())
implementation 'com.hannesdorfmann:adapterdelegates4-kotlin-dsl-layoutcontainer:4.1.0'
implementation 'com.hannesdorfmann:adapterdelegates4-kotlin-dsl-layoutcontainer:4.1.1'
```

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:
Expand Down Expand Up @@ -295,7 +295,7 @@ fun catAdapterDelegate() = adapterDelegate<Cat, Animal> {
There is an additional artifact for the pagination library:

```gradle
implementation 'com.hannesdorfmann:adapterdelegates4-pagination:4.1.0'
implementation 'com.hannesdorfmann:adapterdelegates4-pagination:4.1.1'
```

Use `PagedListDelegationAdapter`.
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

VERSION_NAME=4.1.1-SNAPSHOT
VERSION_CODE=401
VERSION_NAME=4.1.2-SNAPSHOT
VERSION_CODE=412
GROUP=com.hannesdorfmann


Expand Down

0 comments on commit bc76f5a

Please sign in to comment.