Toolbar items with different states

Toolbar items with different states

BY 14 Sep 2015 Native Code Snippet
This code snippet shows how to create a toolbar with items that can have different states. Switching between states is done by callback. At the end of the callback it is necessary to deselect the item, so that it can be clicked again.
Written by