RowStyleFactory
public
interface
RowStyleFactory
androidx.slice.widget.RowStyleFactory |
Factory to return different styles for child views of a slice.
Summary
Public methods | |
---|---|
abstract
int
|
getRowStyleRes(SliceItem rowItem)
Returns the style resource to use for this child. |
Public methods
getRowStyleRes
public abstract int getRowStyleRes (SliceItem rowItem)
Returns the style resource to use for this child.
Parameters | |
---|---|
rowItem |
SliceItem |
Returns | |
---|---|
int |
Style resource or 0 if the default style should be used. |