public static class ViewRenderInfo.Builder extends BaseRenderInfo.Builder<ViewRenderInfo.Builder>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ViewRenderInfo |
build() |
ViewRenderInfo.Builder |
customViewType(int viewType)
Specify a custom ViewType identifier for this View.
|
ViewRenderInfo.Builder |
isFullSpan(boolean isFullSpan) |
ViewRenderInfo.Builder |
viewBinder(ViewBinder viewBinder)
Specify
ViewBinder implementation that can bind model to the view provided from
viewCreator(ViewCreator). |
ViewRenderInfo.Builder |
viewCreator(ViewCreator viewCreator)
Specify
ViewCreator implementation that can be used to create a new view if such view
is absent in recycling cache. |
customAttribute, debugInfo, isSticky, spanSizepublic ViewRenderInfo.Builder viewCreator(ViewCreator viewCreator)
ViewCreator implementation that can be used to create a new view if such view
is absent in recycling cache. For the same type of views same ViewCreator instance
should be provided.public ViewRenderInfo.Builder viewBinder(ViewBinder viewBinder)
ViewBinder implementation that can bind model to the view provided from
viewCreator(ViewCreator).public ViewRenderInfo.Builder customViewType(int viewType)
ViewCreator instance.public ViewRenderInfo build()
public ViewRenderInfo.Builder isFullSpan(boolean isFullSpan)
isFullSpan in class BaseRenderInfo.Builder<ViewRenderInfo.Builder>