styleFor

abstract fun styleFor(mention: Mention): SpanStyle?

Returns the SpanStyle to be applied for the given mention, or null to apply no special style.

Return

The SpanStyle to be applied, or null.

Parameters

mention

The mention for which to get the style.