Skip to content

Commit 23712af

Browse files
committed
adds all previews
1 parent 434f477 commit 23712af

File tree

1 file changed

+14
-0
lines changed
  • wear/src/main/java/com/example/wear/snippets/rotary

1 file changed

+14
-0
lines changed

wear/src/main/java/com/example/wear/snippets/rotary/Rotary.kt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,23 @@ fun SnapScrollableScreen() {
242242
// [END android_wear_rotary_input_snap_fling]
243243
}
244244

245+
@WearPreviewDevices
246+
@WearPreviewFontScales
247+
@Composable
248+
fun TimePickerPreview() {
249+
TimePicker()
250+
}
251+
245252
@WearPreviewDevices
246253
@WearPreviewFontScales
247254
@Composable
248255
fun ScrollableScreenPreview() {
249256
ScrollableScreen()
250257
}
258+
259+
@WearPreviewDevices
260+
@WearPreviewFontScales
261+
@Composable
262+
fun SnapScrollableScreenPreview() {
263+
SnapScrollableScreen()
264+
}

0 commit comments

Comments
 (0)