Skip to content

//woua-matrimony-sdk/com.woualabs.matrimony.errors.presenters

Package com.woualabs.matrimony.errors.presenters

Types

Name Summary
AlertDialogFragment [android]
class AlertDialogFragment : DialogFragment
AlertErrorPresenter [common, android, iOS, js]
[common, android, iOS, js]
class AlertErrorPresenter(alertTitle: String, positiveButtonText: String) : ErrorPresenter<String>
ErrorPresenter [common, android, iOS, js]
[common, android, iOS, js]
interface ErrorPresenter<T : Any>
SelectorErrorPresenter [common, android, iOS, js]
[common, android, iOS, js]
class SelectorErrorPresenter<T : Any>(errorPresenterSelector: (Throwable) -> ErrorPresenter<T>) : ErrorPresenter<T>
SnackBarDuration [common]
enum SnackBarDuration : Enum<SnackBarDuration>
SnackBarErrorPresenter [common, android, js]
[common, js]
class SnackBarErrorPresenter(duration: SnackBarDuration) : ErrorPresenter<String>
[android]
class SnackBarErrorPresenter(duration: SnackBarDuration) : ErrorPresenter<String>
[iOS]
class SnackBarErrorPresenter(duration: SnackBarDuration) : ErrorPresenter<String>
In iOS there is no such thing as snackbar, so it shows AlertErrorPresenter.
ToastDuration [common]
enum ToastDuration : Enum<ToastDuration>
ToastErrorPresenter [common, android, js]
[common, js]
class ToastErrorPresenter(duration: ToastDuration) : ErrorPresenter<String>
[android]
class ToastErrorPresenter(duration: ToastDuration) : ErrorPresenter<String>
[iOS]
class ToastErrorPresenter(duration: ToastDuration) : ErrorPresenter<String>
In iOS there is no such thing as toast, so it shows AlertErrorPresenter.

Functions

Name Summary
toAndroidCode [android]
fun SnackBarDuration.toAndroidCode(): Int
fun ToastDuration.toAndroidCode(): Int