Package 

Class QuantifiedDeferredText

  • 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.

    • Method Summary

      Modifier and Type Method Description
      CharSequence resolve(Context context) Resolve wrapped for quantity 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