RowSection
@ExperimentalCarApi
@CarProtocol
public final class RowSection extends Section
A section within the SectionedItemTemplate that contains Rows - good for showcasing small icons and longer text for every entry.
Summary
Nested types |
|---|
@ExperimentalCarApiA builder that constructs |
Public methods |
|
|---|---|
boolean |
|
int |
When set to a value that correlates to an index in |
int |
hashCode() |
boolean |
Flag denoting whether or not this section of rows should be treated as a selection group (ie. radio button group). |
@NonNull String |
toString() |
Inherited methods |
||||||||
|---|---|---|---|---|---|---|---|---|
|
Public methods
getInitialSelectedIndex
public int getInitialSelectedIndex()
When set to a value that correlates to an index in getItemsDelegate, this entire row section should be treated as a selection group (eg. radio group). Otherwise this will be a negative value to denote that this row section should not be transformed into a selection group.
isSelectionGroup
public boolean isSelectionGroup()
Flag denoting whether or not this section of rows should be treated as a selection group (ie. radio button group).