SplitBindersMountBehavior

fun PrimitiveComponentScope.SplitBindersMountBehavior(measureVersion: State<Int>, onRefresh: () -> Unit?, onScrollListeners: List<RecyclerView.OnScrollListener>?, recyclerEventsController: RecyclerEventsController?, onBeforeLayoutListener: LithoRecyclerView.OnBeforeLayoutListener?, onAfterLayoutListener: LithoRecyclerView.OnAfterLayoutListener?, measureChild: View.() -> Unit): MountBehavior<SectionsRecyclerView>

This is one MountBehavior that uses three different binders to mount the content.

The different mount binders are as follows:

  • Content: This is responsible for mounting/unmounting all recycler view like properties related to the content and listeners.

  • ItemDecorations: This will bind/unbind the itemDecorations

  • Binder: This will bind/unbind the binder.