vanshg
08/17/2023, 5:04 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 the report below 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>
)
Albert Chang
08/18/2023, 10:29 AMJacob Ras
08/18/2023, 7:22 PM