Skip to content

Commit 3123402

Browse files
authored
Time pickers comments (#295)
* Adding advanced examples * Apply Spotless * Adding advanced examples * Rename AdvancedTimePickerExample * Rename AdvancedTimePickerExample --------- Co-authored-by: jakeroseman <[email protected]>
1 parent 0280de8 commit 3123402

File tree

1 file changed

+3
-0
lines changed
  • compose/snippets/src/main/java/com/example/compose/snippets/components

1 file changed

+3
-0
lines changed

compose/snippets/src/main/java/com/example/compose/snippets/components/TimePickers.kt

+3
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ fun DialExample(
144144
is24Hour = true,
145145
)
146146

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

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

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

0 commit comments

Comments
 (0)