-
- All Implemented Interfaces:
-
android.os.Parcelable,com.backbase.deferredresources.DeferredDimension,com.backbase.deferredresources.dimension.ParcelableDeferredDimension
public final class DeferredDimension.Resource implements ParcelableDeferredDimension
A wrapper for a DimenRes.
-
-
Constructor Summary
Constructors Constructor Description DeferredDimension.Resource(Integer resId)
-
Method Summary
Modifier and Type Method Description IntegerresolveAsSize(Context context)Resolve resId to a pixel dimension size with the given context. IntegerresolveAsOffset(Context context)Resolve resId to a pixel dimension offset with the given context. FloatresolveExact(Context context)Resolve resId to a pixel dimension with the given context. -
-
Constructor Detail
-
DeferredDimension.Resource
DeferredDimension.Resource(Integer resId)
-
-
Method Detail
-
resolveAsSize
@Px() Integer resolveAsSize(Context context)
Resolve resId to a pixel dimension size with the given context.
-
resolveAsOffset
@Px() Integer resolveAsOffset(Context context)
Resolve resId to a pixel dimension offset with the given context.
-
resolveExact
@Px() Float resolveExact(Context context)
Resolve resId to a pixel dimension with the given context.
-
-
-
-