vanshg
08/11/2023, 7:03 PMPainter
in. This results in composables which are restartable
but not skippable
. There is some advice that implies it's okay if not everything is not skippable. I am of course using rememberPainter
everywhere. With all that being said, is something like this something to be concerned about? Should the Painters be passed in as a lambda instead?
restartable scheme("[androidx.compose.ui.UiComposable]") fun ProcessingScreen(
stable processingState: ProcessingState
stable inProgressTitle: String
stable inProgressSubtitle: String
unstable inProgressIcon: Painter
stable successTitle: String
stable successSubtitle: String
unstable successIcon: Painter
stable errorTitle: String
stable errorSubtitle: String
unstable errorIcon: Painter
stable continueButtonText: String
stable onContinue: Function0<Unit>
stable retryButtonText: String
stable onRetry: Function0<Unit>
stable closeButtonText: String
stable onClose: Function0<Unit>
)