setIcon

open fun setIcon(@NonNull url: String, width: Int, height: Int)

Sets the 'icon' property value

Parameters

url

the url of the image resource

width

the width of the image resource

height

the height of the image resource