Slide 39
Slide 39 text
:
UI
@Composable
fun StopwatchScreen(
modifier: Modifier = Modifier,
stopwatchState: StopwatchState,
formattedTimeString: String,
onStart: () -> Unit,
onPause: () -> Unit,
onResume: () -> Unit,
onReset: () -> Unit
) {
Column(…) {
ActionButtons(
stopwatchState = stopwatchState,
formattedTimeString = formattedTimeString,
onStart = onStart,
onPause = onPause,
onResume = onResume,
onReset = onReset
)
}
}
...
StopwatchSreen.kt