-
- All Implemented Interfaces:
-
android.os.Parcelable,com.backbase.deferredresources.DeferredPlurals,com.backbase.deferredresources.text.ParcelableDeferredPlurals
public final class FormattedDeferredPlurals implements ParcelableDeferredPlurals
A DeferredPlurals implementation that wraps a DeferredFormattedPlurals along with its formatArgs. Designed for use cases where the format args are determined at the declaring site while the quantity is determined at the resolving site.
If the format args are to be determined at the resolving site, stick with DeferredFormattedPlurals. If the quantity is to be determined at the declaring site, see QuantifiedFormattedDeferredText.
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 FormattedDeferredPlurals(DeferredFormattedPlurals wrapped, Object formatArgs)Initialize with the given wrapped and formatArgs.
-
Method Summary
-
-
Constructor Detail
-
FormattedDeferredPlurals
FormattedDeferredPlurals(DeferredFormattedPlurals wrapped, Object formatArgs)
Initialize with the given wrapped and formatArgs.
-
-
Method Detail
-
resolve
CharSequence resolve(Context context, Integer quantity)
-
-
-
-