Are there any plans to add wearos support? Looking...
# decompose
x
Are there any plans to add wearos support? Looking for something similar to
SwipeDismissableNavHost
with
SwipeToDismissBox
a
Interesting! I've seen your tweet about Wear OS support - https://twitter.com/IsuruKusumal/status/1651824691953405953 How does it work now?
x
It works very well 👍 In the video below, i'm navigating back in three different ways 1. on screen back buttons - works as expected 2. physical back button - works as expected 3. swipe to go back - didn't work so added my own
SwipeToDismissBox
, but it is not ideal
Source here
a
Awesome! Could you please link your custom SwipeToDismissBox?
x
here
Copy code
SwipeToDismissBox(onDismissed = onBack) {
    StoryView(
      state = state,
      onRefresh = viewModel::onRefresh,
      onBack = onBack,
      onSave = viewModel::onSave
    )
  }
a
Ah, so you used the one from AndroidX. Why do you think it's worth adding it in Decompose?