-
- All Implemented Interfaces:
-
android.os.Parcelable,com.backbase.deferredresources.DeferredColor,com.backbase.deferredresources.color.ParcelableDeferredColor
public final class DeferredColor.Constant implements ParcelableDeferredColor
A wrapper for a constant color value.
-
-
Constructor Summary
Constructors Constructor Description DeferredColor.Constant(String colorString)Convenience for wrapping a constant color value parsed from the given colorString. DeferredColor.Constant(Integer value)
-
Method Summary
Modifier and Type Method Description Integerresolve(Context context)Always resolves to value, ignoring context. ColorStateListresolveToStateList(Context context)Always resolves to value wrapped in a new ColorStateList. -
-
Method Detail
-
resolveToStateList
ColorStateList resolveToStateList(Context context)
Always resolves to value wrapped in a new ColorStateList.
-
-
-
-