RowStyleFactory


interface RowStyleFactory


Factory to return different styles for child views of a slice.

Summary

Public functions

@StyleRes Int

Returns the style resource to use for this child.

Public functions

getRowStyleRes

Added in 1.1.0-alpha02
fun getRowStyleRes(rowItem: SliceItem): @StyleRes Int

Returns the style resource to use for this child.

Returns
@StyleRes Int

Style resource or 0 if the default style should be used.