Package-level declarations
Types
Link copied to clipboard
class AndroidBackgroundWorkImageLoader(val base64ToBitmapConverter: Base64ToBitmapConverter) : BackgroundWorkImageLoader
Coordinates AndroidBackgroundWorkImageLoader behavior in the SDAI presentation layer.
Link copied to clipboard
interface BackgroundWorkImageLoader
Defines the BackgroundWorkImageLoader contract for the SDAI presentation layer.
Link copied to clipboard
Defines the BackgroundWorkIntent contract for the SDAI presentation layer.
Link copied to clipboard
data class BackgroundWorkState(val visible: Boolean = false, val title: String = "", val subTitle: String = "", val image: ImageBitmap? = null, val isError: Boolean = false) : MviState
Carries BackgroundWorkState data through the SDAI presentation layer.
Link copied to clipboard
class BackgroundWorkViewModel(val dispatchersProvider: DispatchersProvider, val backgroundWorkObserver: BackgroundWorkObserver, val imageLoader: BackgroundWorkImageLoader, val onError: (Throwable) -> Unit = {}) : BaseMviViewModel<BackgroundWorkState, BackgroundWorkIntent, EmptyEffect>
Coordinates BackgroundWorkViewModel behavior in the SDAI presentation layer.
Link copied to clipboard
Provides the NoOpBackgroundWorkImageLoader singleton used by the SDAI presentation layer.
Functions
Link copied to clipboard
Renders the BackgroundWorkWidget UI for the SDAI presentation layer.
Link copied to clipboard
private fun BackgroundWorkWidgetContent(modifier: Modifier = Modifier, state: BackgroundWorkState = BackgroundWorkState(), processIntent: (BackgroundWorkIntent) -> Unit = {})
Renders the BackgroundWorkWidgetContent UI for the SDAI presentation layer.