onBindViewHolder

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.