addStickyItem

Adds a sticky item to the list and updates the map with its index.

Parameters

item

The sticky item to be added.