RecyclerBinderAdapterDelegate
A delegation that is used to customize the adapter behaviour for the RecyclerView that the RecyclerBinder uses.
Functions
Link copied to clipboard
The same function as androidx.recyclerview.widget.RecyclerView.Adapter.getItemId.
Link copied to clipboard
The same function as androidx.recyclerview.widget.RecyclerView.Adapter.hasStableIds.
Link copied to clipboard
abstract fun onBindViewHolder(viewHolder: T, position: Int, componentTree: ComponentTree?, renderInfo: RenderInfo?)
The same function as androidx.recyclerview.widget.RecyclerView.Adapter.onBindViewHolder but with two additional parameters, componentTree and renderInfo, which are useful to the LithoView. It will be called after the LithoView has been attached to the screen.
Link copied to clipboard
The same function as androidx.recyclerview.widget.RecyclerView.Adapter.onCreateViewHolder.
Link copied to clipboard
The same function as androidx.recyclerview.widget.RecyclerView.Adapter.onViewRecycled.