public static class SectionParameters.Builder
extends java.lang.Object
SectionParameters.| Modifier and Type | Method and Description |
|---|---|
SectionParameters |
build()
Build an instance of SectionParameters.
|
SectionParameters.Builder |
emptyResourceId(int emptyResourceId)
Set layout resource for Section's empty state.
|
SectionParameters.Builder |
emptyViewWillBeProvided()
Declare that there will be no
emptyResourceId, as the view will be provided by
the Section's implementation directly. |
SectionParameters.Builder |
failedResourceId(int failedResourceId)
Set layout resource for Section's failed state.
|
SectionParameters.Builder |
failedViewWillBeProvided()
Declare that there will be no
failedResourceId, as the view will be provided by
the Section's implementation directly. |
SectionParameters.Builder |
footerResourceId(int footerResourceId)
Set layout resource for Section's footer.
|
SectionParameters.Builder |
footerViewWillBeProvided()
Declare that there will be no
footerResourceId, as the view will be provided by
the Section's implementation directly. |
SectionParameters.Builder |
headerResourceId(int headerResourceId)
Set layout resource for Section's header.
|
SectionParameters.Builder |
headerViewWillBeProvided()
Declare that there will be no
headerResourceId, as the view will be provided by
the Section's implementation directly. |
SectionParameters.Builder |
itemResourceId(int itemResourceId)
Set layout resource for Section's items.
|
SectionParameters.Builder |
itemViewWillBeProvided()
Declare that there will be no
itemResourceId, as the view will be provided by
the Section's implementation directly. |
SectionParameters.Builder |
loadingResourceId(int loadingResourceId)
Set layout resource for Section's loading state.
|
SectionParameters.Builder |
loadingViewWillBeProvided()
Declare that there will be no
loadingResourceId, as the view will be provided by
the Section's implementation directly. |
public SectionParameters.Builder itemResourceId(@LayoutRes int itemResourceId)
itemResourceId - layout resource for Section's itemspublic SectionParameters.Builder itemViewWillBeProvided()
itemResourceId, as the view will be provided by
the Section's implementation directly.public SectionParameters.Builder headerResourceId(@LayoutRes int headerResourceId)
headerResourceId - layout resource for Section's headerpublic SectionParameters.Builder headerViewWillBeProvided()
headerResourceId, as the view will be provided by
the Section's implementation directly.public SectionParameters.Builder footerResourceId(@LayoutRes int footerResourceId)
footerResourceId - layout resource for Section's footerpublic SectionParameters.Builder footerViewWillBeProvided()
footerResourceId, as the view will be provided by
the Section's implementation directly.public SectionParameters.Builder loadingResourceId(@LayoutRes int loadingResourceId)
loadingResourceId - layout resource for Section's loading statepublic SectionParameters.Builder loadingViewWillBeProvided()
loadingResourceId, as the view will be provided by
the Section's implementation directly.public SectionParameters.Builder failedResourceId(@LayoutRes int failedResourceId)
failedResourceId - layout resource for Section's failed statepublic SectionParameters.Builder failedViewWillBeProvided()
failedResourceId, as the view will be provided by
the Section's implementation directly.public SectionParameters.Builder emptyResourceId(@LayoutRes int emptyResourceId)
emptyResourceId - layout resource for Section's empty statepublic SectionParameters.Builder emptyViewWillBeProvided()
emptyResourceId, as the view will be provided by
the Section's implementation directly.public SectionParameters build()