public class ListRecyclerConfiguration<T extends SectionTree.Target & Binder<RecyclerView>> extends Object implements RecyclerConfiguration
RecyclerCollectionComponent
that will create a androidx.recyclerview.widget.LinearLayoutManager
for the RecyclerView
.Modifier and Type | Class and Description |
---|---|
static class |
ListRecyclerConfiguration.Builder |
Constructor and Description |
---|
ListRecyclerConfiguration()
Deprecated.
|
ListRecyclerConfiguration(int orientation,
boolean reverseLayout)
Deprecated.
|
ListRecyclerConfiguration(int orientation,
boolean reverseLayout,
int snapMode)
Deprecated.
|
ListRecyclerConfiguration(int orientation,
boolean reverseLayout,
int snapMode,
RecyclerBinderConfiguration recyclerBinderConfiguration)
Deprecated.
|
ListRecyclerConfiguration(int orientation,
boolean reverseLayout,
int snapMode,
RecyclerBinderConfiguration recyclerBinderConfiguration,
LinearLayoutInfoFactory linearLayoutInfoFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ListRecyclerConfiguration.Builder |
acquireBuilder() |
static ListRecyclerConfiguration.Builder |
create() |
static ListRecyclerConfiguration |
createWithRecyclerBinderConfiguration(RecyclerBinderConfiguration recyclerBinderConfiguration)
Deprecated.
|
LayoutInfo |
getLayoutInfo(ComponentContext c) |
int |
getOrientation() |
RecyclerBinderConfiguration |
getRecyclerBinderConfiguration() |
SnapHelper |
getSnapHelper() |
int |
getSnapMode() |
@Deprecated public ListRecyclerConfiguration()
create()
instead.@Deprecated public ListRecyclerConfiguration(int orientation, boolean reverseLayout)
create()
instead.@Deprecated public ListRecyclerConfiguration(int orientation, boolean reverseLayout, int snapMode)
create()
instead.@Deprecated public ListRecyclerConfiguration(int orientation, boolean reverseLayout, int snapMode, RecyclerBinderConfiguration recyclerBinderConfiguration)
create()
instead.@Deprecated public ListRecyclerConfiguration(int orientation, boolean reverseLayout, int snapMode, RecyclerBinderConfiguration recyclerBinderConfiguration, LinearLayoutInfoFactory linearLayoutInfoFactory)
create()
instead.public static ListRecyclerConfiguration.Builder create()
@Deprecated public static ListRecyclerConfiguration createWithRecyclerBinderConfiguration(RecyclerBinderConfiguration recyclerBinderConfiguration)
create()
instead.
Static factory method to create a recycler configuration with incremental mount optionally turned on.
public ListRecyclerConfiguration.Builder acquireBuilder()
acquireBuilder
in interface RecyclerConfiguration
public SnapHelper getSnapHelper()
getSnapHelper
in interface RecyclerConfiguration
public int getSnapMode()
getSnapMode
in interface RecyclerConfiguration
public int getOrientation()
getOrientation
in interface RecyclerConfiguration
public LayoutInfo getLayoutInfo(ComponentContext c)
getLayoutInfo
in interface RecyclerConfiguration
public RecyclerBinderConfiguration getRecyclerBinderConfiguration()
getRecyclerBinderConfiguration
in interface RecyclerConfiguration