public interface LayoutHandlerFactory
LithoHandlers in RecyclerBinder.| Modifier and Type | Method and Description |
|---|---|
LithoHandler |
createLayoutCalculationHandler(RenderInfo renderInfo) |
boolean |
shouldUpdateLayoutHandler(RenderInfo previousRenderInfo,
RenderInfo newRenderInfo) |
LithoHandler createLayoutCalculationHandler(RenderInfo renderInfo)
LithoHandler that will be used to compute the layouts of the children of
the RecyclerSpec.boolean shouldUpdateLayoutHandler(RenderInfo previousRenderInfo, RenderInfo newRenderInfo)
LithoHandler of ComponentTree that's being updated by update
operation of RecyclerBinder will be replaced by new LithoHandler returned
from createLayoutCalculationHandler(RenderInfo), otherwise keep using existing
LithoHandler created during item insertion.