Package 

Class DeferredTextArray.Constant

  • All Implemented Interfaces:
    android.os.Parcelable , com.backbase.deferredresources.DeferredTextArray , com.backbase.deferredresources.text.ParcelableDeferredTextArray

    
    public final class DeferredTextArray.Constant
     implements ParcelableDeferredTextArray
                        

    A wrapper for a constant array of text values.

    This class protects against array mutability by holding a copy of the input values and by always returning a new copy of those values when resolved.

    • Method Summary

      Modifier and Type Method Description
      Array<out CharSequence> resolve(Context context) Always resolves to a new array copied from values.
      • Methods inherited from class com.backbase.deferredresources.text.ParcelableDeferredTextArray

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DeferredTextArray.Constant

        DeferredTextArray.Constant(CharSequence values)
        Initialize with the given text values.