Skip to content

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

FormattedDeferredText

[androidJvm] class FormattedDeferredText : ParcelableDeferredText

A DeferredText implementation that wraps a DeferredFormattedString along with its formatArgs. Designed for use cases where the format args are determined at the declaring site rather than the resolving site.

If the format args are to be determined at the resolving site, stick with DeferredFormattedString.

This class implements android.os.Parcelable. It will throw at runtime if wrapped or any of formatArgs cannot be marshalled.

Constructors

FormattedDeferredText [androidJvm] fun FormattedDeferredText(wrapped: DeferredFormattedString, vararg formatArgs: Any)Initialize with the given wrapped and formatArgs.

Functions

Name Summary
describeContents [androidJvm]
Content
abstract fun describeContents(): Int


resolve [androidJvm]
Content
open override fun resolve(context: Context): CharSequence
More info
Resolve wrapped with formatArgs using the given context.


writeToParcel [androidJvm]
Content
abstract fun writeToParcel(p0: Parcel, p1: Int)