Builder

class Builder

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var asyncInsertLayoutHandler: RunnableHandler?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var poolScope: PoolScope
Link copied to clipboard

Functions

Link copied to clipboard
fun acquireStateHandlerOnRelease(acquireStateHandlerOnRelease: Boolean): RecyclerBinder.Builder

Defaults to true. If false, when a ComponentTreeHolder is released because it exists the prepared range, the StateHandler of the ComponentTree will not be cached and restored when re-entering the range, so previous state will be lost.

Link copied to clipboard
fun asyncInsertLayoutHandler(handler: RunnableHandler): RecyclerBinder.Builder
Link copied to clipboard
Link copied to clipboard

Enable setting custom viewTypes on ViewRenderInfos.

Link copied to clipboard
Link copied to clipboard

Note: this is an advanced usage of RecyclerBinder that requires much more manual hand-holding of the RecyclerBinder than normal usage.

Link copied to clipboard
Link copied to clipboard

Method for tests to allow mocking of the InternalAdapter to verify interaction with the RecyclerView.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Set a custom range traverser

Link copied to clipboard

Set a delegation to customize the adapter behaviour.

Link copied to clipboard
Link copied to clipboard

Sets a factory to be used to create a custom controller for sticky section headers