MessageFormatter

The formatter used to insert and format the parameters of the message text

Inheritors

Functions

Link copied to clipboard
abstract fun format(message: String, parameters: MessageParameters, locale: Locale): String
open fun format(message: String, parameters: List<Any>, locale: Locale): String

Formats and returns the message

Link copied to clipboard

returns the max used parameter index in the string. "-1" if there is no parameter