2. SwipeToDismissBox set up - https://github.com/manoflogan/ComposeAuthentication/blob/email/email/src/main/java/com/manoflogan/email/composables/EmailContent.kt#L34-L54
Is there anything I am doing wrong?
@riggaroo Hi, Rebecca, I have a question about implementing "swipe to dismiss" feature in Android with Jetpack Compose. I am trying to use "SwipeToDismissBox" but I am stuck on an issue, and I hope that you can guide me.
I am trying to set up a minimum threshold after which the swipe is detected (50% of the width). If the swipe threshold is less than that, then I want it to snap back to origin. I can't figure out how to do that.
Set up:
1. https://github.com/manoflogan/ComposeAuthentication/blob/email/email/src/main/java/com/manoflogan/email/composables/EmailContentList.kt#L44-L53 and https://github.com/manoflogan/ComposeAuthentication/blob/email/email/src/main/java/com/manoflogan/email/composables/EmailContentList.kt#L76
@ianlake I wanted to seek your advice for this report which I filed. https://issuetracker.google.com/issues/318732729
I think that it is a bug in how test navigation controller resolves the navigation argument, but I would appreciate feedback in this regard.