Package-level declarations
Types
Secure credential storage backed by EncryptedSharedPreferences.
Production DispatcherProvider implementation that delegates to the real Dispatchers.
Abstraction over the standard CoroutineDispatcher set to allow dispatcher injection in tests.
Runtime configuration values required by the sample app to initialise the MTN MOMO SDK.
Configuration data for displaying a Snackbar, encapsulating the message string resource, optional action label, display duration, and a semantic type that drives the snackbar color.
Theming options for a snackbar, specifying colors as hex strings for message text, action text, and background.
Functions
This is required to fix keyboard overlapping content in a Composable screen. This functionality is applied after the setContent function of the activity is called.
Collects this SharedFlow and shows a Snackbar via scaffoldState for each emitted SnackBarComponentConfiguration that contains a non-empty message.
This function checks if the device is online
Returns this throwable's Throwable.message, or an empty string when it has none.
Parse this String to a color code to be used in compose. Color code must either a). begin with pound sign ('#') and should be of 6 valid characters or b). be equal to 'primaryColor', 'primaryVariantColor' or 'errorColor'
Returns this LiveData's current value, or Constants.EMPTY_STRING when it has not been set.
Returns this LiveData's current value, or null when it is unset or blank.