A more detailed usage example can be found in the example application.
Comments have been translated to English.
getSelectedItem() function has been added.
getSelectedItemString() null pointer exception when item has not yet been selected prevented.