getResource

abstract fun getResource(context: Context): T

Resolves the resource for the given context.

Return

The resolved resource.

Parameters

context

Context used to resolve theme properties.