Open yubarajoli77 opened 1 year ago
did u solve the issue?
For anyone wondering this is the gardening app Plantura. :D Can recommend.
@baargava I've just found the view in question in the app and the SwipeRow isn't there, so i guess no solution was found or the idea as a whole was scrapped.
as for a solution, use ref + closeRow(). see here
@mmaass Thank you so much for recommending the Plantura gardening app :). We're thrilled to hear that you're enjoying it :D. Regarding the SwipeRow feature, the idea has been put on hold till now.
For those looking for a solution in similar scenarios, you can use useRef as mentioned by @mmaass
Here is my implementation. I am using this SwipeRow only (Standalone without SwipeListView).
Now I just want to close the Row automatically after successful execution of "mark" or "unmark" async function. How can I close that opened row programmatically?
You can see the screen recording below. I have to close it manually by swiping right.
https://user-images.githubusercontent.com/31098546/231096683-0097a1f6-a853-464f-be49-fa163898bf96.mov