-
- All Implemented Interfaces:
-
android.os.Parcelable,com.backbase.deferredresources.DeferredText,com.backbase.deferredresources.text.ParcelableDeferredText
public final class DeferredText.Resource implements ParcelableDeferredText
A wrapper for a text resId.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumDeferredText.Resource.TypeThe type of text resource to resolve.
-
Constructor Summary
Constructors Constructor Description DeferredText.Resource(Integer resId, DeferredText.Resource.Type type)DeferredText.Resource(Integer resId)
-
Method Summary
Modifier and Type Method Description CharSequenceresolve(Context context)Resolve resId to text with the given context. -
-
Constructor Detail
-
DeferredText.Resource
DeferredText.Resource(Integer resId, DeferredText.Resource.Type type)
-
DeferredText.Resource
DeferredText.Resource(Integer resId)
-
-
Method Detail
-
resolve
CharSequence resolve(Context context)
Resolve resId to text with the given context.
If type is Type.STRING, resolves a localized string. If type is Type.TEXT, resolves a localized, styled CharSequence.
-
-
-
-