diff --git a/epoxy-paging/src/main/java/com/airbnb/epoxy/paging/PagedListEpoxyController.kt b/epoxy-paging/src/main/java/com/airbnb/epoxy/paging/PagedListEpoxyController.kt index c5250ae2b8..d60a694ae5 100644 --- a/epoxy-paging/src/main/java/com/airbnb/epoxy/paging/PagedListEpoxyController.kt +++ b/epoxy-paging/src/main/java/com/airbnb/epoxy/paging/PagedListEpoxyController.kt @@ -39,6 +39,9 @@ abstract class PagedListEpoxyController( /** * 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. + * + * The notify thread of your PagedList (from setNotifyExecutor in the PagedList Builder) must be + * the same as this thread. Otherwise Epoxy will crash. */ modelBuildingHandler: Handler = EpoxyController.defaultModelBuildingHandler, /** @@ -119,4 +122,4 @@ abstract class PagedListEpoxyController( override fun areContentsTheSame(oldItem: Any?, newItem: Any?) = oldItem == newItem } } -} \ No newline at end of file +}