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

Functions

Link copied to clipboard
open fun clearRefreshing()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open 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
open 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.
Link copied to clipboard
open fun requestScrollToTop(animated: Boolean)
Send the Recycler a request to scroll the content to the first item in the binder.
Link copied to clipboard
open fun setSectionsRecyclerView(@Nullable sectionsRecyclerView: SectionsRecyclerView)
Link copied to clipboard
open fun setSnapHelper(@Nullable snapHelper: SnapHelper)
Link copied to clipboard
open fun showRefreshing()