Package 

Class QuantifiedFormattedDeferredText

  • All Implemented Interfaces:
    android.os.Parcelable , com.backbase.deferredresources.DeferredText , com.backbase.deferredresources.text.ParcelableDeferredText

    
    public final class QuantifiedFormattedDeferredText
     implements ParcelableDeferredText
                        

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

    If the quantity and format args are to be determined at the resolving site, stick with DeferredFormattedPlurals.

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

    • Method Summary

      Modifier and Type Method Description
      CharSequence resolve(Context context) Resolve wrapped with quantity and formatArgs using the given context.
      • Methods inherited from class com.backbase.deferredresources.text.ParcelableDeferredText

        describeContents, writeToParcel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait