RecyclerBinder
Types
Link copied to clipboard
Defines when a batch should be committed: - IMMEDIATE: Commit batches to the RecyclerView as soon as possible.
Link copied to clipboard
annotation class PaginationStrategy
Link copied to clipboard
Link copied to clipboard
annotation class RecyclingStrategy
Strategies for recycling layouts of items in binder
Functions
Link copied to clipboard
See appendItem.
Inserts a new item at tail.
Link copied to clipboard
Removes all items in this binder async.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the ComponentTree for the item at index position.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Gets the number of items currently in the adapter attached to this binder (i.e.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
See insertItemAt.
Inserts a new item at position.
Link copied to clipboard
Inserts an item at position.
Link copied to clipboard
Inserts the new items starting from position.
Link copied to clipboard
Inserts the new items starting from position.
Link copied to clipboard
Return true if wrap content is enabled for the cross axis, false otherwise.
Link copied to clipboard
Return true if wrap content is enabled for the main axis, false otherwise.
Link copied to clipboard
Link copied to clipboard
open fun measure(outSize: Size, widthSpec: Int, heightSpec: Int, @Nullable reMeasureEventHandler: EventHandler<ReMeasureEvent>)
A component mounting a RecyclerView can use this method to determine its size.
Link copied to clipboard
Call from the owning Component's onMount.
Link copied to clipboard
Moves an item from fromPosition to toPosition.
Link copied to clipboard
open fun notifyChangeSetComplete(isDataChanged: Boolean, @Nullable changeSetCompleteCallback: ChangeSetCompleteCallback)
Called after all the change set operations (inserts, removes, etc.) in a batch have completed.
Link copied to clipboard
open fun notifyChangeSetCompleteAsync(isDataChanged: Boolean, changeSetCompleteCallback: ChangeSetCompleteCallback)
Called after all the change set operations (inserts, removes, etc.) in a batch have completed.
Link copied to clipboard
Link copied to clipboard
Removes an item from index position.
Link copied to clipboard
Removes an item from position.
Link copied to clipboard
Removes count items starting from position.
Link copied to clipboard
Removes count items starting from position.
Link copied to clipboard
Link copied to clipboard
Replaces all items in the RecyclerBinder with the provided RenderInfos.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setViewportChangedListener(@Nullable viewportChangedListener: ViewportInfo.ViewportChanged)
Bind a ViewportInfo.ViewportChanged listener to this Binder.
Link copied to clipboard
Call from the owning Component's onUnmount.
Link copied to clipboard
See updateItemAt.
Updates the item at position.
Link copied to clipboard
Update the item at index position.
Link copied to clipboard
Updates the range of items starting at position.
Link copied to clipboard
Update the items starting from the given index position.
Link copied to clipboard
Updates the visible range when in sub adapter mode.
Link copied to clipboard
open fun updateSubAdapterWorkingRange(firstVisibleIndex: Int, lastVisibleIndex: Int, firstFullyVisibleIndex: Int, lastFullyVisibleIndex: Int)
Updates the working range when in sub adapter mode.