show Error
Call this method when you need to show an error message to the user in the Analysis Screen.
Parameters
message
a short error message
duration
how long should the error message be shown in ms
Call this method when you need to show an error message with an invokable action to the user in the Analysis Screen.
Parameters
message
a short error message
button Title
if not null and not empty, shows a button with the given title
on Click Listener
listener for the button