getResource
Resolves the resource value based on DeX state and overlay theme application.
Return
The integer resource value from defaultThemeResource or openThemeResource.
Parameters
context
Context used to check DeX state and overlay theme status.