setResource

open fun setResource(resourcePath: String? = null)

Makes @self load and display the resource at the given

Parameters

resourcePath

the resource to set