public static final class DataDiffSection.Builder<T> extends Section.Builder<DataDiffSection.Builder<T>>
mResourceResolver
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DataDiffSection.Builder<T> |
alwaysDetectDuplicates(Boolean alwaysDetectDuplicates) |
DataDiffSection |
build() |
DataDiffSection.Builder<T> |
data(List<? extends T> data) |
DataDiffSection.Builder<T> |
detectMoves(Boolean detectMoves) |
DataDiffSection.Builder<T> |
getThis() |
DataDiffSection.Builder<T> |
key(String key)
Sets the key of this
Section local to its parent. |
DataDiffSection.Builder<T> |
loadingEventHandler(EventHandler<LoadingEvent> loadingEventHandler) |
DataDiffSection.Builder<T> |
onCheckIsSameContentEventHandler(EventHandler onCheckIsSameContentEventHandler) |
DataDiffSection.Builder<T> |
onCheckIsSameItemEventHandler(EventHandler onCheckIsSameItemEventHandler) |
DataDiffSection.Builder<T> |
renderEventHandler(EventHandler renderEventHandler) |
checkArgs, handle, init, release
public DataDiffSection.Builder<T> alwaysDetectDuplicates(Boolean alwaysDetectDuplicates)
public DataDiffSection.Builder<T> data(List<? extends T> data)
public DataDiffSection.Builder<T> detectMoves(Boolean detectMoves)
public DataDiffSection.Builder<T> onCheckIsSameContentEventHandler(EventHandler onCheckIsSameContentEventHandler)
public DataDiffSection.Builder<T> onCheckIsSameItemEventHandler(EventHandler onCheckIsSameItemEventHandler)
public DataDiffSection.Builder<T> renderEventHandler(EventHandler renderEventHandler)
public DataDiffSection.Builder<T> key(String key)
Section.Builder
Section
local to its parent.key
in class Section.Builder<DataDiffSection.Builder<T>>
public DataDiffSection.Builder<T> loadingEventHandler(EventHandler<LoadingEvent> loadingEventHandler)
loadingEventHandler
in class Section.Builder<DataDiffSection.Builder<T>>
public DataDiffSection.Builder<T> getThis()
getThis
in class Section.Builder<DataDiffSection.Builder<T>>
public DataDiffSection build()
build
in class Section.Builder<DataDiffSection.Builder<T>>
Section
.