-
- All Implemented Interfaces:
-
android.os.Parcelable,com.backbase.deferredresources.DeferredText,com.backbase.deferredresources.text.ParcelableDeferredText
public final class QuantifiedDeferredText implements ParcelableDeferredText
A DeferredText implementation that wraps a DeferredPlurals along with its quantity. Designed for use cases where the quantity is determined at the declaring site rather than the resolving site.
If the quantity is to be determined at the resolving site, stick with DeferredPlurals.
This class implements android.os.Parcelable. It will throw at runtime if wrapped cannot be marshalled.
-
-
Constructor Summary
Constructors Constructor Description QuantifiedDeferredText(DeferredPlurals wrapped, Integer quantity)
-
Method Summary
Modifier and Type Method Description CharSequenceresolve(Context context)Resolve wrapped for quantity using the given context. -
-
Constructor Detail
-
QuantifiedDeferredText
QuantifiedDeferredText(DeferredPlurals wrapped, Integer quantity)
-
-
Method Detail
-
resolve
CharSequence resolve(Context context)
Resolve wrapped for quantity using the given context.
-
-
-
-