public static class GridRecyclerConfiguration.Builder extends Object implements RecyclerConfiguration.Builder
Modifier and Type | Method and Description |
---|---|
GridRecyclerConfiguration.Builder |
allowMeasureOverride(boolean allowMeasureOverride) |
GridRecyclerConfiguration |
build()
Builds a
GridRecyclerConfiguration using the parameters specified in this builder. |
GridRecyclerConfiguration.Builder |
deltaJumpThreshold(int deltaJumpThreshold) |
GridRecyclerConfiguration.Builder |
gridLayoutInfoFactory(GridLayoutInfoFactory gridLayoutInfoFactory)
Provide a customized
GridLayoutInfo through GridLayoutInfoFactory interface. |
GridRecyclerConfiguration.Builder |
numColumns(int numColumns) |
GridRecyclerConfiguration.Builder |
orientation(int orientation) |
GridRecyclerConfiguration.Builder |
recyclerBinderConfiguration(RecyclerBinderConfiguration recyclerBinderConfiguration) |
GridRecyclerConfiguration.Builder |
reverseLayout(boolean reverseLayout) |
GridRecyclerConfiguration.Builder |
snapMode(int snapMode) |
GridRecyclerConfiguration.Builder |
startSnapFlingOffset(int startSnapFlingOffset) |
public GridRecyclerConfiguration.Builder snapMode(int snapMode)
snapMode
in interface RecyclerConfiguration.Builder
public GridRecyclerConfiguration.Builder orientation(int orientation)
orientation
in interface RecyclerConfiguration.Builder
public GridRecyclerConfiguration.Builder deltaJumpThreshold(int deltaJumpThreshold)
public GridRecyclerConfiguration.Builder startSnapFlingOffset(int startSnapFlingOffset)
public GridRecyclerConfiguration.Builder numColumns(int numColumns)
public GridRecyclerConfiguration.Builder reverseLayout(boolean reverseLayout)
public GridRecyclerConfiguration.Builder recyclerBinderConfiguration(RecyclerBinderConfiguration recyclerBinderConfiguration)
recyclerBinderConfiguration
in interface RecyclerConfiguration.Builder
public GridRecyclerConfiguration.Builder allowMeasureOverride(boolean allowMeasureOverride)
public GridRecyclerConfiguration.Builder gridLayoutInfoFactory(GridLayoutInfoFactory gridLayoutInfoFactory)
GridLayoutInfo
through GridLayoutInfoFactory
interface.public GridRecyclerConfiguration build()
GridRecyclerConfiguration
using the parameters specified in this builder.build
in interface RecyclerConfiguration.Builder