Skip to content

Commit

Permalink
Update paging kdoc on threading
Browse files Browse the repository at this point in the history
  • Loading branch information
elihart authored Oct 18, 2018
1 parent 52eaacb commit 5c35b8f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ abstract class PagedListEpoxyController<T>(
/**
* 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,
/**
Expand Down Expand Up @@ -119,4 +122,4 @@ abstract class PagedListEpoxyController<T>(
override fun areContentsTheSame(oldItem: Any?, newItem: Any?) = oldItem == newItem
}
}
}
}

0 comments on commit 5c35b8f

Please sign in to comment.