getInstance

Factory for creating an instance of BidiFormatter for the default locale directionality.


open fun getInstance(rtlContext: Boolean): BidiFormatter

Factory for creating an instance of BidiFormatter given the context directionality.

Parameters

rtlContext

Whether the context directionality is RTL.


open fun getInstance(locale: Locale): BidiFormatter

Factory for creating an instance of BidiFormatter given the context locale.

Parameters

locale

The context locale.