Initializer

data class Initializer(context: WeakReference<Context>, attributes: TypedArray, pixelRatio: Float)

Initializer class wraps a bind configuration that can be used during plugin initialisation.

Parameters

context

the context to bind to

attributes

the attributes to derive configuratio from

pixelRatio

the device pixel ratio

Constructors

Initializer
Link copied to clipboard
fun Initializer(context: WeakReference<Context>, attributes: TypedArray, pixelRatio: Float)

Properties

attributes
Link copied to clipboard
val attributes: TypedArray
context
Link copied to clipboard
val context: WeakReference<Context>
pixelRatio
Link copied to clipboard
val pixelRatio: Float