RecyclerEventsController

An controller that can be passed as com.facebook.litho.annotations.Prop to a Recycler component to trigger events from outside the component hierarchy.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Properties

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

Functions

Link copied to clipboard
Link copied to clipboard
fun requestScrollToPosition(position: Int, animated: Boolean)

Send the Recycler a request to scroll the content to a specific item in the binder.

Link copied to clipboard
fun requestScrollToPositionWithOffset(position: Int, offset: Int)

Send the Recycler a request to scroll the content to a specific item in the binder with the given offset from resolved layout start. Animation will not be performed.

Link copied to clipboard

Send the Recycler a request to scroll the content to the first item in the binder.

Link copied to clipboard
fun setSectionsRecyclerView(sectionsRecyclerView: SectionsRecyclerView?)
Link copied to clipboard