-
- All Implemented Interfaces:
-
android.os.Parcelable,com.backbase.deferredresources.DeferredText,com.backbase.deferredresources.text.ParcelableDeferredText
public final class FormattedDeferredText implements 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.
-
-
Constructor Summary
Constructors Constructor Description FormattedDeferredText(DeferredFormattedString wrapped, Object formatArgs)Initialize with the given wrapped and formatArgs.
-
Method Summary
Modifier and Type Method Description CharSequenceresolve(Context context)Resolve wrapped with formatArgs using the given context. -
-
Constructor Detail
-
FormattedDeferredText
FormattedDeferredText(DeferredFormattedString wrapped, Object formatArgs)
Initialize with the given wrapped and formatArgs.
-
-
Method Detail
-
resolve
CharSequence resolve(Context context)
Resolve wrapped with formatArgs using the given context.
-
-
-
-