Skip to content

Commit 9eb4fc6

Browse files
authored
Release 2.18.0 (#550)
1 parent 0551a5c commit 9eb4fc6

File tree

5 files changed

+23
-5
lines changed

5 files changed

+23
-5
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# 2.18.0 (Sep 26, 2018)
2+
- **New** A new `PagedListEpoxyController` to improve integration with the Android Paging architecture component (#533 Thanks to Yigit!)
3+
With this change the old `PagingEpoxyController` has been deprecated, and [the wiki](https://github.com/airbnb/epoxy/wiki/Paging-Support) is updated.
4+
5+
- **New** Add databinding option to not auto apply DoNotHash (#539)
6+
- **Fixed** Fix AsyncEpoxyController constructor to correctly use boolean setting (#537)
7+
- **Fixed** `app_name` is removed from module manifests (#543 Thanks @kettsun0123!)
8+
9+
110
# 2.17.0 (Sep 6, 2018)
211
- **New** Add support for setting the Padding via resource or directly in dp (https://github.com/airbnb/epoxy/pull/528 Thanks to pwillmann!)
312
- **Fixed** Strip kotlin metadata annotation from generated classes (https://github.com/airbnb/epoxy/pull/523)

build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
buildscript {
33

4-
ext.KOTLIN_VERSION = "1.2.60"
4+
ext.KOTLIN_VERSION = "1.2.71"
55
ext.ANDROID_PLUGIN_VERSION = "3.1.4"
66

77
repositories {
@@ -20,6 +20,11 @@ allprojects {
2020
google()
2121
jcenter()
2222
}
23+
24+
// Prevent javadoc task complaining about errors with kotlin files
25+
tasks.withType(Javadoc) {
26+
excludes = ['**/*.kt']
27+
}
2328
}
2429

2530
subprojects { project ->

epoxy-paging/src/main/java/com/airbnb/epoxy/paging/PagedListEpoxyController.kt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,14 @@ import com.airbnb.epoxy.EpoxyViewHolder
3737
*/
3838
abstract class PagedListEpoxyController<T>(
3939
/**
40-
* The handler to use for build models.
40+
* The handler to use for building models. By default this uses the main thread, but you can use
41+
* [EpoxyAsyncUtil.getAsyncBackgroundHandler] to do model building in the background.
4142
*/
4243
modelBuildingHandler: Handler = EpoxyController.defaultModelBuildingHandler,
4344
/**
44-
* The handler to use when calculating the diff between built model lists
45+
* The handler to use when calculating the diff between built model lists.
46+
* By default this uses the main thread, but you can use
47+
* [EpoxyAsyncUtil.getAsyncBackgroundHandler] to do diffing in the background.
4548
*/
4649
diffingHandler: Handler = EpoxyController.defaultDiffingHandler,
4750
/**

epoxy-sample/src/main/res/layout/activity_main.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
android:layout_height="match_parent"
77
android:padding="8dp"
88
android:background="#ffffff"
9-
app:itemSpacing="4dp"/>
9+
app:itemSpacing="4dp"
10+
/>

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION_NAME=2.17.0
1+
VERSION_NAME=2.18.0
22
GROUP=com.airbnb.android
33
POM_DESCRIPTION=Epoxy is a system for composing complex screens with a ReyclerView in Android.
44
POM_URL=https://github.com/airbnb/epoxy

0 commit comments

Comments
 (0)