Kartik
03/17/2024, 4:24 PMSwipeToDismissBox
but they are not getting triggered. I am trying to figure out why is that. I would appreciate any help in this regard
My set is up as follows
Github branch: https://github.com/manoflogan/ComposeAuthentication/blob/email/email/
1. Composable - https://github.com/manoflogan/ComposeAuthentication/blob/email/email/src/main/java/com/manoflogan/email/composables/EmailContentList.kt
2. Composable test - https://github.com/manoflogan/ComposeAuthentication/blob/email/email/src/test/java/com/manoflogan/email/composables/EmailContentListTest.kt#L88-L108.
3. Callback function that I want to invoke https://github.com/manoflogan/ComposeAuthentication/blob/email/email/src/main/java/com/manoflogan/email/composables/EmailContentList.kt#L77-L79
4. The line which fails https://github.com/manoflogan/ComposeAuthentication/blob/email/email/src/test/java/com/manoflogan/email/composables/EmailContentListTest.kt#L93-L95
I have tried to write a test as follows https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:wear/compose/compose-foundation/src/androidTest/kotlin/androidx/wear/compose/foundation/BasicSwipeToDismissBoxTest.kt
but I could not find a non wear equivalent. Any suggestions would be gratefully appreciated.