setIcon

Set icon URL (will be used to download the icon asset)

Parameters

url

- url


Set icon from drawable

Parameters

drawable

- drawable


Set icon from drawable

Parameters

drawable

- drawable

tint

- tint


Set icon from drawable

Parameters

drawable

- drawable

tint

- Hex value of tint color


Set icon from resource ID

Parameters

resId

- resource ID


Set icon from resource ID

Parameters

resId

- resource ID

tint

- tint


Set icon from resource ID

Parameters

resId

- resource ID

tint

- Hex value of tint color


Set icon from bitmap

Parameters

bitmap

- icon bitmap