CollectionRecyclerSpec

Properties

Functions

Link copied to clipboard
fun createInitialState(c: ComponentContext, sectionTree: StateValue<SectionTree?>, binder: StateValue<Binder<RecyclerView>>, internalRecyclerEventsController: StateValue<RecyclerEventsController?>, section: Section, recyclerConfiguration: RecyclerConfiguration, sectionTreeTag: String?, canMeasureRecycler: Boolean, startupLogger: LithoStartupLogger?, lazyCollectionController: LazyCollectionController?)
Link copied to clipboard
fun onCreateLayout(c: ComponentContext, section: Section?, onScrollListeners: List<RecyclerView.OnScrollListener?>?, clipToPadding: Boolean?, clipChildren: Boolean?, nestedScrollingEnabled: Boolean?, scrollBarStyle: Int?, itemDecoration: RecyclerView.ItemDecoration?, itemAnimator: RecyclerView.ItemAnimator?, @IdRes recyclerViewId: Int?, overScrollMode: Int?, startPadding: Int, endPadding: Int, topPadding: Int, bottomPadding: Int, recyclerTouchEventHandler: EventHandler<TouchEvent?>?, horizontalFadingEdgeEnabled: Boolean, verticalFadingEdgeEnabled: Boolean, fadingEdgeLength: Int, refreshProgressBarBackgroundColor: Int?, refreshProgressBarColor: Int?, touchInterceptor: LithoRecyclerView.TouchInterceptor?, itemTouchListener: RecyclerView.OnItemTouchListener?, pullToRefreshEnabled: Boolean, recyclerConfiguration: RecyclerConfiguration, sectionsViewLogger: SectionsRecyclerView.SectionsRecyclerViewLogger?, shouldExcludeFromIncrementalMount: Boolean, internalRecyclerEventsController: RecyclerEventsController?, binder: Binder<RecyclerView>, sectionTree: SectionTree): Component
Link copied to clipboard
Link copied to clipboard
fun onRefresh(c: ComponentContext, sectionTree: SectionTree): Boolean