public static interface RepositoryPresenterCompilerStates.RPLayout<TVal,TRet>
| Modifier and Type | Method and Description |
|---|---|
TRet |
layout(int layoutId)
Specifies the
layoutId for the layout to inflate for each item in the associated
Repository. |
TRet |
layoutForItem(com.google.android.agera.Function<TVal,java.lang.Integer> layoutForItem)
Specifies a
Function to return a layoutId that be inflated given the item in
the Repository. |
@NonNull TRet layout(@LayoutRes int layoutId)
layoutId for the layout to inflate for each item in the associated
Repository.