-
- All Implemented Interfaces:
-
android.os.Parcelable,com.backbase.deferredresources.DeferredTextArray,com.backbase.deferredresources.text.ParcelableDeferredTextArray
public final class DeferredTextArray.Resource implements ParcelableDeferredTextArray
A wrapper for a text ArrayRes. Optionally set type to Type.TEXT to retain style information in each resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumDeferredTextArray.Resource.TypeThe type of text resource to resolve.
-
Constructor Summary
Constructors Constructor Description DeferredTextArray.Resource(Integer id, DeferredTextArray.Resource.Type type)DeferredTextArray.Resource(Integer id)
-
Method Summary
Modifier and Type Method Description Array<out CharSequence>resolve(Context context)Resolve id to a text array with the given context. -
-
Constructor Detail
-
DeferredTextArray.Resource
DeferredTextArray.Resource(Integer id, DeferredTextArray.Resource.Type type)
-
DeferredTextArray.Resource
DeferredTextArray.Resource(Integer id)
-
-
Method Detail
-
resolve
Array<out CharSequence> resolve(Context context)
Resolve id to a text array with the given context.
If type is Type.STRING, resolves an array of (un-styled) strings. If type is Type.TEXT, resolves an array of styled CharSequences.
-
-
-
-