You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thank you for your library, it's perfect but could you give me the solution to revert the state of the previous item?
Ex:
The List has 4 items: A, B, C, D.
1/ Swipe item A EndToStart.
2/ Swipe item B & revert the state of item A.
3/ Swipe item C & revert the state of item B.
Thanks.
The text was updated successfully, but these errors were encountered:
at the moment, there is no way to revert the other states. I am planning to inlclude these feature in the next version (hopefully) by using the same RevealState.
@JahonovAsilbek and @TamND87, I was able to facilitate this behavior by storing the RevealState in the list item's data class.
This way, each item has its own RevealState, and when calling a state's confirmValueChange lambda, you can cycle through each item in the list, calling RevealState.animateTo(targetValue = RevealValue.Default) on any open list items.
This method of storing the RevealStatewith the list item allows you to change any list item's value without having to directly interact with it.
Hi, thank you for your library, it's perfect but could you give me the solution to revert the state of the previous item?
Ex:
The List has 4 items: A, B, C, D.
1/ Swipe item A EndToStart.
2/ Swipe item B & revert the state of item A.
3/ Swipe item C & revert the state of item B.
Thanks.
The text was updated successfully, but these errors were encountered: