RowStyleFactory


public interface RowStyleFactory


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

Summary

Public methods

abstract @StyleRes int

Returns the style resource to use for this child.

Public methods

getRowStyleRes

Added in 1.1.0-alpha02
abstract @StyleRes int getRowStyleRes(@NonNull SliceItem rowItem)

Returns the style resource to use for this child.

Returns
@StyleRes int

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