Skip to content

//deferred-resources/com.backbase.deferredresources/DeferredDimension/Attribute

Attribute

[androidJvm] class Attribute(@AttrRes()resId: Int) : ParcelableDeferredDimension

A wrapper for an AttrRes reference to a dimension.

Constructors

Attribute [androidJvm] fun Attribute(@AttrRes()resId: Int)

Functions

Name Summary
describeContents [androidJvm]
Content
abstract fun describeContents(): Int


resolveAsOffset [androidJvm]
Content
@Px()

open override fun resolveAsOffset(context: Context): Int
More info
Resolve resId to a Px int for use as an offset with the given context's theme.


resolveAsSize [androidJvm]
Content
@Px()

open override fun resolveAsSize(context: Context): Int
More info
Resolve resId to a Px int for use as a size with the given context's theme.


resolveExact [androidJvm]
Content
@Px()

open override fun resolveExact(context: Context): Float
More info
Resolve resId to an exact Px value for use as a size with the given context's theme.


writeToParcel [androidJvm]
Content
abstract fun writeToParcel(p0: Parcel, p1: Int)