Skip to content

Commit

Permalink
Release 2.18.0 (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
elihart authored Sep 26, 2018
1 parent 0551a5c commit 9eb4fc6
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 5 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# 2.18.0 (Sep 26, 2018)
- **New** A new `PagedListEpoxyController` to improve integration with the Android Paging architecture component (#533 Thanks to Yigit!)
With this change the old `PagingEpoxyController` has been deprecated, and [the wiki](https://github.com/airbnb/epoxy/wiki/Paging-Support) is updated.

- **New** Add databinding option to not auto apply DoNotHash (#539)
- **Fixed** Fix AsyncEpoxyController constructor to correctly use boolean setting (#537)
- **Fixed** `app_name` is removed from module manifests (#543 Thanks @kettsun0123!)


# 2.17.0 (Sep 6, 2018)
- **New** Add support for setting the Padding via resource or directly in dp (https://github.com/airbnb/epoxy/pull/528 Thanks to pwillmann!)
- **Fixed** Strip kotlin metadata annotation from generated classes (https://github.com/airbnb/epoxy/pull/523)
Expand Down
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {

ext.KOTLIN_VERSION = "1.2.60"
ext.KOTLIN_VERSION = "1.2.71"
ext.ANDROID_PLUGIN_VERSION = "3.1.4"

repositories {
Expand All @@ -20,6 +20,11 @@ allprojects {
google()
jcenter()
}

// Prevent javadoc task complaining about errors with kotlin files
tasks.withType(Javadoc) {
excludes = ['**/*.kt']
}
}

subprojects { project ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,14 @@ import com.airbnb.epoxy.EpoxyViewHolder
*/
abstract class PagedListEpoxyController<T>(
/**
* The handler to use for build models.
* The handler to use for building models. By default this uses the main thread, but you can use
* [EpoxyAsyncUtil.getAsyncBackgroundHandler] to do model building in the background.
*/
modelBuildingHandler: Handler = EpoxyController.defaultModelBuildingHandler,
/**
* The handler to use when calculating the diff between built model lists
* The handler to use when calculating the diff between built model lists.
* By default this uses the main thread, but you can use
* [EpoxyAsyncUtil.getAsyncBackgroundHandler] to do diffing in the background.
*/
diffingHandler: Handler = EpoxyController.defaultDiffingHandler,
/**
Expand Down
3 changes: 2 additions & 1 deletion epoxy-sample/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
android:layout_height="match_parent"
android:padding="8dp"
android:background="#ffffff"
app:itemSpacing="4dp"/>
app:itemSpacing="4dp"
/>
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=2.17.0
VERSION_NAME=2.18.0
GROUP=com.airbnb.android
POM_DESCRIPTION=Epoxy is a system for composing complex screens with a ReyclerView in Android.
POM_URL=https://github.com/airbnb/epoxy
Expand Down

0 comments on commit 9eb4fc6

Please sign in to comment.