setIconFromIconName

open fun setIconFromIconName(iconPos: EntryIconPosition, iconName: String? = null)

Sets the icon shown in the entry at the specified position from the current icon theme.

If the icon name isn’t known, a “broken image” icon will be displayed instead.

If @icon_name is null, no icon will be shown in the specified position.

Parameters

iconPos

The position at which to set the icon

iconName

An icon name