showError

abstract void showError(@NonNull() String message, int duration)

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

abstract void showError(@NonNull() String message, @NonNull() String buttonTitle, @NonNull() View.OnClickListener onClickListener)

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

buttonTitle

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

onClickListener

listener for the button