Skip to content

Commit

Permalink
Time pickers comments (#295)
Browse files Browse the repository at this point in the history
* Adding advanced examples

* Apply Spotless

* Adding advanced examples

* Rename AdvancedTimePickerExample

* Rename AdvancedTimePickerExample

---------

Co-authored-by: jakeroseman <jakeroseman@users.noreply.github.com>
  • Loading branch information
jakeroseman and jakeroseman authored Jul 22, 2024
1 parent 0280de8 commit 3123402
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ fun DialExample(
is24Hour = true,
)

// For information on how to implement a time picker dialog, see the "Dialogs for time pickers" guide.
TimePickerDialog(
onDismiss = { onDismiss() },
onConfirm = { onConfirm(timePickerState) }
Expand All @@ -170,6 +171,7 @@ fun InputExample(
is24Hour = true,
)

// For information on how to implement a time picker dialog, see the "Dialogs for time pickers" guide.
TimePickerDialog(
onDismiss = { onDismiss() },
onConfirm = { onConfirm(timePickerState) }
Expand Down Expand Up @@ -207,6 +209,7 @@ fun AdvancedTimePickerExample(
Icons.Filled.AccessTime
}

// For information on how to implement a time picker dialog, see the "Dialogs for time pickers" guide.
AdvancedTimePickerDialog(
onDismiss = { onDismiss() },
onConfirm = { onConfirm(timePickerState) },
Expand Down

0 comments on commit 3123402

Please sign in to comment.