Skip to content

//deferred-resources/com.backbase.deferredresources.text

Package com.backbase.deferredresources.text

Types

Name Summary
FormattedDeferredPlurals [androidJvm]
Content
class FormattedDeferredPlurals : ParcelableDeferredPlurals
More info
A DeferredPlurals implementation that wraps a DeferredFormattedPlurals along with its formatArgs.


FormattedDeferredText [androidJvm]
Content
class FormattedDeferredText : ParcelableDeferredText
More info
A DeferredText implementation that wraps a DeferredFormattedString along with its formatArgs.


ParcelableDeferredFormattedPlurals [androidJvm]
Content
interface ParcelableDeferredFormattedPlurals : DeferredFormattedPlurals, Parcelable
More info
A Parcelable wrapper for resolving format-able pluralized text on demand.


ParcelableDeferredFormattedString [androidJvm]
Content
interface ParcelableDeferredFormattedString : DeferredFormattedString, Parcelable
More info
A Parcelable wrapper for resolving a formatted string on demand.


ParcelableDeferredPlurals [androidJvm]
Content
interface ParcelableDeferredPlurals : DeferredPlurals, Parcelable
More info
A Parcelable wrapper for resolving pluralized text on demand.


ParcelableDeferredText [androidJvm]
Content
interface ParcelableDeferredText : DeferredText, Parcelable
More info
A Parcelable wrapper for resolving text on demand.


ParcelableDeferredTextArray [androidJvm]
Content
interface ParcelableDeferredTextArray : DeferredTextArray, Parcelable
More info
A Parcelable wrapper for resolving a text array on demand.


QuantifiedDeferredFormattedString [androidJvm]
Content
class QuantifiedDeferredFormattedString(wrapped: DeferredFormattedPlurals, quantity: Int) : ParcelableDeferredFormattedString
More info
A DeferredFormattedString implementation that wraps a DeferredFormattedPlurals along with its quantity.


QuantifiedDeferredText [androidJvm]
Content
class QuantifiedDeferredText(wrapped: DeferredPlurals, quantity: Int) : ParcelableDeferredText
More info
A DeferredText implementation that wraps a DeferredPlurals along with its quantity.


QuantifiedFormattedDeferredText [androidJvm]
Content
class QuantifiedFormattedDeferredText : ParcelableDeferredText
More info
A DeferredText implementation that wraps a DeferredFormattedPlurals along with its quantity and formatArgs.


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.