Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

RowStyleFactory

interface RowStyleFactory
androidx.slice.widget.RowStyleFactory

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

Summary

Public methods
abstract Int
getRowStyleRes(@NonNull rowItem: SliceItem)

Returns the style resource to use for this child.

Public methods

getRowStyleRes

@StyleRes abstract fun getRowStyleRes(@NonNull rowItem: SliceItem): Int

Returns the style resource to use for this child.

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