showError

Call this method when you need to show an error message with an invokable action to the user in the Analysis Screen.

Parameters

buttonTitle

if not null and not empty, shows a button with the given title

message

a short error message

onClickListener

listener for the button

Call this method when you need to show an error message to the user in the Analysis Screen.

Parameters

duration

how long should the error message be shown in ms

message

a short error message

void showError(String message, int duration)