//deferred-resources/com.backbase.deferredresources.text
Package com.backbase.deferredresources.text
Types
Functions
Name | Summary |
---|---|
resolveToString | [androidJvm] Content fun DeferredText.resolveToString(context: Context): String More info Resolve a DeferredText to a string rather than a CharSequence by calling toString on the resolved value. |
withFormatArgs | [androidJvm] Content fun DeferredFormattedPlurals.withFormatArgs(vararg formatArgs: Any): FormattedDeferredPlurals More info Convert a DeferredFormattedPlurals to a DeferredPlurals by providing formatArgs to be used when resolved. [androidJvm] Content ~~fun~~ ~~<~~T~~>~~ DeferredFormattedPlurals~~.~~~~withFormatArgs~~~~(~~~~vararg~~ ~~formatArgs~~~~:~~ Any~~)~~~~:~~ DeferredPlurals More info Convert a DeferredFormattedPlurals to a DeferredPlurals by providing its formatArgs to be used when resolved. [androidJvm] Content fun DeferredFormattedString.withFormatArgs(vararg formatArgs: Any): FormattedDeferredText ~~fun~~ ~~<~~T~~>~~ DeferredFormattedString~~.~~~~withFormatArgs~~~~(~~~~vararg~~ ~~formatArgs~~~~:~~ Any~~)~~~~:~~ DeferredText More info Convert a DeferredFormattedString to a normal DeferredText by providing formatArgs to be used when resolved. |
withQuantity | [androidJvm] Content fun DeferredFormattedPlurals.withQuantity(quantity: Int): QuantifiedDeferredFormattedString ~~fun~~ ~~<~~T~~>~~ DeferredFormattedPlurals~~.~~~~withQuantity~~~~(~~~~quantity~~~~:~~ Int~~)~~~~:~~ DeferredFormattedString More info Convert a DeferredFormattedPlurals to a DeferredFormattedString by providing a quantity to be used when resolved. [androidJvm] Content fun DeferredPlurals.withQuantity(quantity: Int): QuantifiedDeferredText ~~fun~~ ~~<~~T~~>~~ DeferredPlurals~~.~~~~withQuantity~~~~(~~~~quantity~~~~:~~ Int~~)~~~~:~~ DeferredText More info Convert a DeferredPlurals to a normal DeferredText by providing a quantity to be used when resolved. |
withQuantityAndFormatArgs | [androidJvm] Content fun DeferredFormattedPlurals.withQuantityAndFormatArgs(quantity: Int, vararg formatArgs: Any = arrayOf(quantity)): QuantifiedFormattedDeferredText ~~fun~~ ~~<~~T~~>~~ DeferredFormattedPlurals~~.~~~~withQuantityAndFormatArgs~~~~(~~~~quantity~~~~:~~ Int~~,~~ ~~vararg~~ ~~formatArgs~~~~:~~ Any ~~= arrayOf(quantity)~~~~)~~~~:~~ DeferredText More info Convert a DeferredFormattedPlurals to a normal DeferredText by providing a quantity and formatArgs to be used when resolved. |