diff --git a/README.md b/README.md index dc73f87..0cf791a 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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: @@ -206,10 +206,10 @@ public class DiffAdapter extends AsyncListDifferDelegationAdapter { 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` 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 { 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`. diff --git a/gradle.properties b/gradle.properties index a00f5e1..a79e6b6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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